dip

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

commit 24e9eed2bfc5a0ebcb42efaa701d0c773a8e53c8
parent 5bdd19d29d19ca456cf9ded5c065d9ae7cd823b4
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 31 May 2018 04:27:05 +0000

etc: hosts: Add sicp.web.

* docker-compose.yml (web): Add volume for sicp.
* docker/conf.d/nginx.conf (sicp.web): Change root path.
* etc/hosts (sicp.web): Add host.

Diffstat:
docker-compose.yml | 1+
docker/conf.d/nginx.conf | 2+-
etc/hosts | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml @@ -8,6 +8,7 @@ services: - "80:80" volumes: - ~/annex/eat/taoup/www.catb.org/~esr/writings/taoup/html:/var/html/taoup + - ~/annex/eat/sicp/mitpress.mit.edu/sicp:/var/html/sicp - ~/.cached-web:/var/html/cached psql: build: diff --git a/docker/conf.d/nginx.conf b/docker/conf.d/nginx.conf @@ -83,7 +83,7 @@ server { server { ssi on; server_name sicp.web; - root /home/s/annex/eat/sicp/mitpress.mit.edu/sicp; + root /var/html/sicp; index index.html; location / { diff --git a/etc/hosts b/etc/hosts @@ -19,7 +19,7 @@ 127.0.0.2 taoup.web 127.0.0.3 cached.web - +127.0.0.4 sicp.web # # Imaginary network. #10.0.0.2 myname