Enhance documentation for web server configuration

This commit is contained in:
Starbeamrainbowlabs 2019-03-10 00:17:30 +00:00
parent 0cd1032a3b
commit 47f9af242a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,8 @@ You can edit other settings here too. See `settings.default.toml` for the settin
In Nginx:
```nginx
# put this inside the "server { }" block:
# Put this inside the "server { }" website definition block:
# The "server { }" block can usually be found somewhere in /etc/nginx on Linux machines, and may have a "server_name" directive specifying the domain name it's serving if multiple websites are configured.
location ^~ /path/to/data/directory {
deny all;
}
@ -91,7 +92,7 @@ location ^~ /path/to/data/directory {
In Apache:
```htaccess
# Create a file with this content inside the data/ directory
# Create a file called ".htaccess" with this content inside the data/ directory
Require all denied
```