Provide a nginx configuration sample for mirrors
Originally created by @geb on #6993 (Redmine)
On https://tails.boum.org/contribute/how/mirror/#index5h2 there is documentation for apache and lighttpd, but no nginx.
It should be nice to add an nginx one, like
server {
listen [::]:80;
server_name dl.amnesia.boum.org;
root /var/www/THE_PLACE_WHERE_YOU_WANT_OUR_FILES_TO_LIVE;
location / {
autoindex on;
}
}
Configuration not tested but provided by petrus. Thanks to him.