Browse Source

Enhance documentation for web server configuration

pull/26/head
Starbeamrainbowlabs 4 years ago
parent
commit
47f9af242a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 5
      README.md

5
README.md

@ -82,7 +82,8 @@ You can edit other settings here too. See `settings.default.toml` for the settin @@ -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 { @@ -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
```

Loading…
Cancel
Save