Enhance documentation for web server configuration

Starbeamrainbowlabs 4 years ago
parent 0cd1032a3b
commit 47f9af242a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 5

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