dip

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

commit 2d8d361e0c1a565eee2da6e26f4a6b83d593806d
parent cea198e8802a96b5af7c713bcace80ea1186d084
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat,  9 Nov 2019 19:50:19 -0500

Serve dingy.web via nginx

Diffstat:
Makefile | 1+
etc/exports | 1+
etc/fstab | 1+
etc/hostname.lo0 | 1+
etc/hosts | 1+
etc/nginx/sites.conf | 11+++++++++++
6 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -45,6 +45,7 @@ nginx: mkdir -p ${HTML_DIR}/vm mkdir -p ${HTML_DIR}/fsfi mkdir -p ${HTML_DIR}/rs + mkdir -p ${HTML_DIR}/ds mkdir -p ${HTML_DIR}/lpsg .PHONY: nginx diff --git a/etc/exports b/etc/exports @@ -4,4 +4,5 @@ /home/s/v/git.ricketyspace.net/vm -network=127.0.0 -mask=255.255.255.0 /home/s/v/git.ricketyspace.net/fsfi -network=127.0.0 -mask=255.255.255.0 /home/s/v/lyra.ricketyspace.net/rs -network=127.0.0 -mask=255.255.255.0 +/home/s/v/lyra.ricketyspace.net/ds -ro -network=127.0.0 -mask=255.255.255.0 /home/s/v/notabug.org/lpschedule-generator/docs/_build/html -network=127.0.0 -mask=255.255.255.0 diff --git a/etc/fstab b/etc/fstab @@ -4,4 +4,5 @@ 127.0.0.1:/home/s/v/git.ricketyspace.net/vm /var/www/html/vm nfs rw,nodev,nosuid 0 0 127.0.0.1:/home/s/v/git.ricketyspace.net/fsfi /var/www/html/fsfi nfs rw,nodev,nosuid 0 0 127.0.0.1:/home/s/v/lyra.ricketyspace.net/rs /var/www/html/rs nfs rw,nodev,nosuid 0 0 +127.0.0.1:/home/s/v/lyra.ricketyspace.net/ds /var/www/html/ds nfs ro,nodev,nosuid 0 0 127.0.0.1:/home/s/v/notabug.org/lpschedule-generator/docs/_build/html /var/www/html/lpsg nfs rw,nodev,nosuid 0 0 diff --git a/etc/hostname.lo0 b/etc/hostname.lo0 @@ -8,3 +8,4 @@ inet alias 127.0.0.7 inet alias 127.0.0.8 inet alias 127.0.0.9 inet alias 127.0.0.10 +inet alias 127.0.0.11 diff --git a/etc/hosts b/etc/hosts @@ -8,3 +8,4 @@ 127.0.0.8 lpsg.web 127.0.0.9 rs.web 127.0.0.10 nfsw.dingy +127.0.0.11 dingy.web diff --git a/etc/nginx/sites.conf b/etc/nginx/sites.conf @@ -56,6 +56,17 @@ server { } } +server { + ssi on; + server_name dingy.web; + root /var/www/html/ds; + index index.html; + + location / { + autoindex on; + } +} + ### fsfi server server {