Use caddy as HTTP server

This commit is contained in:
2018-11-19 21:43:09 +01:00
parent 7d7f4ccfc2
commit 38f0908cb4
7 changed files with 21 additions and 14 deletions

View File

@ -14,7 +14,7 @@ stderr_logfile_maxbytes=0
[program:fdroid-update]
command = inotifyd /fdroid/fdroid-update.sh /fdroid/repo:w
command = inotifyd /fdroid/fdroid-update.sh /fdroid/repo:w /fdroid/metadata:w
directory = /fdroid
user = fdroid
autostart = true
@ -23,10 +23,10 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:darkhttpd]
command = darkhttpd /fdroid/repo --port 8080
directory = /fdroid
user = fdroid
[program:caddy]
command = caddy -conf /fdroid/Caddyfile
directory = /fdroid/repo
user = root
autostart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0