commit e37c82d7071daa6073e2d0611e9ceb521c9cf204 parent 2aa3b0d78e7f31598ba43a25ac374ef0e18ba220 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Mon, 12 Sep 2022 15:08:03 +0200 Added config file for local httpd; added -f option to remove directories Diffstat:
M | Makefile | | | 2 | +- |
A | httpd.conf | | | 7 | +++++++ |
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -5,7 +5,7 @@ all: clean ./build.sh clean: - rm -r http gemini + rm -rf http gemini mkdir -p http gemini deploy: syncgemini synchttp diff --git a/httpd.conf b/httpd.conf @@ -0,0 +1,7 @@ +chroot "/home/sebastiano/git/sebastiano.tronto.net" + +server "localhost" { + listen on * port 8080 + root "/http" + no log +}