diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-09-12 15:08:03 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-09-12 15:08:03 +0200 |
| commit | e37c82d7071daa6073e2d0611e9ceb521c9cf204 (patch) | |
| tree | 846f09af5fe0c324e302abb376ade3334a0846fe | |
| parent | 2aa3b0d78e7f31598ba43a25ac374ef0e18ba220 (diff) | |
| download | sebastiano.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-- | Makefile | 2 | ||||
| -rw-r--r-- | httpd.conf | 7 |
2 files changed, 8 insertions, 1 deletions
| @@ -5,7 +5,7 @@ all: clean | |||
| 5 | ./build.sh | 5 | ./build.sh |
| 6 | 6 | ||
| 7 | clean: | 7 | clean: |
| 8 | rm -r http gemini | 8 | rm -rf http gemini |
| 9 | mkdir -p http gemini | 9 | mkdir -p http gemini |
| 10 | 10 | ||
| 11 | deploy: syncgemini synchttp | 11 | deploy: 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 @@ | |||
| 1 | chroot "/home/sebastiano/git/sebastiano.tronto.net" | ||
| 2 | |||
| 3 | server "localhost" { | ||
| 4 | listen on * port 8080 | ||
| 5 | root "/http" | ||
| 6 | no log | ||
| 7 | } | ||
