Last active
April 18, 2018 12:39
-
-
Save wyattjoh/dfb584bec1fe18a1052577aa0cc16950 to your computer and use it in GitHub Desktop.
Caddy Supervisord Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:caddy] | |
command=/usr/bin/caddy -conf="/etc/caddy/Caddyfile" | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stdout_logfile=/var/log/caddy.log | |
stdout_logfile_maxbytes=1MB | |
stdout_logfile_backups=10 | |
stdout_capture_maxbytes=1MB | |
stderr_logfile=/var/log/caddy_error.log | |
stderr_logfile_maxbytes=1MB | |
stderr_logfile_backups=10 | |
stderr_capture_maxbytes=1MB | |
user = caddy | |
environment = HOME="/etc/caddy", USER="caddy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment