Create caddy.confd

This commit is contained in:
KronoZed 2017-01-27 19:06:30 +03:00 committed by GitHub
parent 3f46ad1261
commit fc586670a3
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
NAME=caddy
PIDFILE=/var/run/$NAME.pid
LOGFILE=/var/log/$NAME/$NAME.log
CONFIGFILE=/etc/caddy/Caddyfile
CADDY_OPTIONS="-agree=true -pidfile=$PIDFILE -log=$LOGFILE -conf=$CONFIGFILE"
# Set the CADDYPATH; Let's Encrypt certificates will be written to this directory.
export CADDYPATH=/etc/caddy/ssl
# Set the ulimits
ulimit -n 8192