dip

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

commit 070b3c2da3a935ca426d3f484dc574bbd6998d1a
parent b32f64daf3ad6099c368d4ef8497e3f40e0785d4
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 20 Jan 2020 13:09:28 -0500

Server nfsw-static locally.

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 @@ -47,6 +47,7 @@ nginx: mkdir -p ${HTML_DIR}/rs mkdir -p ${HTML_DIR}/ds mkdir -p ${HTML_DIR}/lpsg + mkdir -p ${HTML_DIR}/nfsw-static .PHONY: nginx # Initialize postgresql diff --git a/etc/exports b/etc/exports @@ -5,4 +5,5 @@ /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/lyra.ricketyspace.net/nfsw-static -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 @@ -5,4 +5,5 @@ 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/lyra.ricketyspace.net/nfsw-static /var/www/html/nfsw-static 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 @@ -9,3 +9,4 @@ inet alias 127.0.0.8 inet alias 127.0.0.9 inet alias 127.0.0.10 inet alias 127.0.0.11 +inet alias 127.0.0.12 diff --git a/etc/hosts b/etc/hosts @@ -9,3 +9,4 @@ 127.0.0.9 rs.web 127.0.0.10 nfsw.dingy 127.0.0.11 dingy.web +127.0.0.12 nfsw-static.web diff --git a/etc/nginx/sites.conf b/etc/nginx/sites.conf @@ -67,6 +67,17 @@ server { } } +server { + ssi on; + server_name nfsw-static.web; + root /var/www/html/nfsw-static; + index index.html; + + location / { + autoindex on; + } +} + ### fsfi server server {