summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2014-03-30 17:52:19 +0000
committerTails developers <amnesia@boum.org>2014-03-30 17:53:18 +0000
commit4ea4c3e64923089fac3b236dba5263bab201b915 (patch)
tree757df0e0a6d8555aa4137a00c2bafdad3cb14793
parent7de7e02903bda7b76e7b3e89bed2377697250dbc (diff)
Add nginx configuration example for mirrors (Closes: #6993).
-rw-r--r--wiki/src/contribute/how/mirror.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/wiki/src/contribute/how/mirror.mdwn b/wiki/src/contribute/how/mirror.mdwn
index 5864788..316f087 100644
--- a/wiki/src/contribute/how/mirror.mdwn
+++ b/wiki/src/contribute/how/mirror.mdwn
@@ -112,6 +112,16 @@ enabled.
server.dir-listing = "enable"
}
+### nginx configuration example
+
+ server {
+ server_name dl.amnesia.boum.org;
+ root /var/www/THE_PLACE_WHERE_YOU_WANT_OUR_FILES_TO_LIVE;
+ location / {
+ autoindex on;
+ }
+ }
+
3. Download the files
---------------------