dip

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

commit 639b6de17837fc5ea6d821292509fc9c3fe5c2aa
parent a6ae251ae486a160eabca5f7cef115e7d8928449
Author: rsiddharth <s@ricketyspace.net>
Date:   Wed, 30 May 2018 12:42:42 +0000

etc: hosts: Add cached.web

* docker-compose.yml (web): Add cached-web as a volume.
* docker/conf.d/nginx.conf: Update root path for cached.web.
* etc/hosts: Add cached.web.

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

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 + - ~/.cached-web:/var/html/cached psql: build: context: ./docker diff --git a/docker/conf.d/nginx.conf b/docker/conf.d/nginx.conf @@ -143,7 +143,7 @@ server { server { ssi on; server_name cached.web; - root /home/s/.cached-web; + root /var/html/cached; index index.html; location / { diff --git a/etc/hosts b/etc/hosts @@ -18,6 +18,7 @@ ::1 localhost 127.0.0.2 taoup.web +127.0.0.3 cached.web # # Imaginary network.