aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-09-12 15:08:03 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2022-09-12 15:08:03 +0200
commite37c82d7071daa6073e2d0611e9ceb521c9cf204 (patch)
tree846f09af5fe0c324e302abb376ade3334a0846fe
parent2aa3b0d78e7f31598ba43a25ac374ef0e18ba220 (diff)
downloadsebastiano.tronto.net-e37c82d7071daa6073e2d0611e9ceb521c9cf204.tar.gz
sebastiano.tronto.net-e37c82d7071daa6073e2d0611e9ceb521c9cf204.zip
Added config file for local httpd; added -f option to remove directories
-rw-r--r--Makefile2
-rw-r--r--httpd.conf7
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eaa1e25..4352b9f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ all: clean
5 ./build.sh 5 ./build.sh
6 6
7clean: 7clean:
8 rm -r http gemini 8 rm -rf http gemini
9 mkdir -p http gemini 9 mkdir -p http gemini
10 10
11deploy: syncgemini synchttp 11deploy: syncgemini synchttp
diff --git a/httpd.conf b/httpd.conf
new file mode 100644
index 0000000..fc8128e
--- /dev/null
+++ b/httpd.conf
@@ -0,0 +1,7 @@
1chroot "/home/sebastiano/git/sebastiano.tronto.net"
2
3server "localhost" {
4 listen on * port 8080
5 root "/http"
6 no log
7}

Generated with cgit - Back to sebastiano.tronto.net