dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit 2a2161d0ab39b22220eb0f978371f93afa4e7828
parent 1d6edca3531056f8ec0b95777b5b63656de00d71
Author: rsiddharth <s@ricketyspace.net>
Date:   Wed, 30 May 2018 05:45:01 +0000

docker: Add conf.d/nginx.conf.

Diffstat:
docker/conf.d/nginx.conf | 153+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 153 insertions(+), 0 deletions(-)

diff --git a/docker/conf.d/nginx.conf b/docker/conf.d/nginx.conf @@ -0,0 +1,152 @@ +### vm server +server { + ssi on; + server_name vm.web; + root /home/s/v/git/s/v-page; + index index.php index.html; + + location / { + autoindex on; + include /etc/nginx/mime.types; + rewrite ^/(land|macro|wp|wild|people|fashion).*$ /gallery/$1/ permanent; + rewrite ^/as/photography-classes/?$ /as permanent; + } + #location ~ \\.php$ { + # include snippets/fastcgi-php.conf; + # fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; + #} +} + +### rsd server +server { + server_name rsd.web; + root /home/s/v/ninthfloor.org/rsd-w3; + index index.html; + + location / { + autoindex on; + } +} + +### home server +server { + server_name home.web; + root /home/s/; + index index.html; + + location / { + autoindex on; + } +} + +### ricketyspace server +server { + server_name rs.web; + root /home/s/v/crux.ricketyspace.net/rs; + index index.html; + + location / { + autoindex on; + } +} + +### gnu server +server { + ssi on; + server_name gnu.web; + root /home/s/v/cvs.sv.gnu.org/www-gnu/; + index index.html, home.html; + + location /software/ { + alias /home/s/v/cvs/gnu/software/; + autoindex on; + } + + location / { + autoindex on; + } +} + +### lp server +server { + ssi on; + server_name lp.web; + root /home/s/v/git/fsf/lp-static; + index index.html; + + location / { + autoindex on; + } +} + +### sicp server +server { + ssi on; + server_name sicp.web; + root /home/s/annex/eat/sicp/mitpress.mit.edu/sicp; + index index.html; + + location / { + autoindex on; + } +} + +### taoup server +server { + ssi on; + server_name taoup.web; + root /var/html/taoup; + index index.html; + + location / { + autoindex on; + } +} + +### combox server +server { + ssi on; + server_name combox.web; + root /home/s/v/git/bgc/combox/docs/_build/html; + index index.html; + + location / { + autoindex on; + } +} + +### lpschedule-generator server +server { + ssi on; + server_name lpsg.web; + root /home/s/v/git/fsf/lpschedule-generator/docs/_build/html; + index index.html; + + location / { + autoindex on; + } +} + +### tmp server +server { + ssi on; + server_name tmp.web; + root /tmp; + index index.html; + + location / { + autoindex on; + } +} + +### cached web server +server { + ssi on; + server_name cached.web; + root /home/s/.cached-web; + index index.html; + + location / { + autoindex on; + } +}+ \ No newline at end of file