diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-08 23:25:06 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-08 23:25:06 -0600 |
commit | f39af47eb03343dadf2c646dc43c8b8e131e427a (patch) | |
tree | 8777b3255f29a597f5ac30f3aa703a3afe7b6bc8 /blog/src/a/website_with_nginx.md | |
parent | 5415f37e8da7615b524173f2bb6968be46128d20 (diff) |
add xmpp server entry
Diffstat (limited to 'blog/src/a/website_with_nginx.md')
-rw-r--r-- | blog/src/a/website_with_nginx.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/blog/src/a/website_with_nginx.md b/blog/src/a/website_with_nginx.md index 09a7781..7e4624a 100644 --- a/blog/src/a/website_with_nginx.md +++ b/blog/src/a/website_with_nginx.md @@ -97,12 +97,12 @@ That could serve as a template if you intend to add more domains. Note some things: -* `listen`: we're telling Nginx which port to listen to (IPv4 and IPv6, respectively). -* `root`: the root directory of where the website files (`.html`, `.css`, `.js`, etc. files) are located. I followed Luke's directory path `/var/www/some_folder`. -* `server_name`: the actual domain to "listen" to (for my website it is: `server_name luevano.xyz www.luevano.xyz;` and for this blog is: `server_name blog.luevano.xyz www.blog.luevano.xyz;`). -* `index`: what file to serve as the index (could be any `.html`, `.htm`, `.php`, etc. file) when just entering the website. -* `location`: what goes after `domain.name`, used in case of different configurations depending on the URL paths (deny access on `/private`, make a proxy on `/proxy`, etc). - * `try_files`: tells what files to look for. +- `listen`: we're telling Nginx which port to listen to (IPv4 and IPv6, respectively). +- `root`: the root directory of where the website files (`.html`, `.css`, `.js`, etc. files) are located. I followed Luke's directory path `/var/www/some_folder`. +- `server_name`: the actual domain to "listen" to (for my website it is: `server_name luevano.xyz www.luevano.xyz;` and for this blog is: `server_name blog.luevano.xyz www.blog.luevano.xyz;`). +- `index`: what file to serve as the index (could be any `.html`, `.htm`, `.php`, etc. file) when just entering the website. +- `location`: what goes after `domain.name`, used in case of different configurations depending on the URL paths (deny access on `/private`, make a proxy on `/proxy`, etc). + - `try_files`: tells what files to look for. Then, make a symbolic link from this configuration file to the `sites-enabled` directory: |