caddy log to file. enable gzip compression.

This commit is contained in:
Eric Pfeiffer 2016-08-26 13:26:22 -05:00
parent f9fd391879
commit 29d714a849
2 changed files with 4 additions and 2 deletions

View File

@ -9,9 +9,10 @@ rewrite {
ext /
to /index.php?{query}
}
gzip
browse
log stdout
errors stderr
log /var/log/caddy/access.log
errors /var/log/caddy/error.log
# Uncomment to enable TLS (HTTPS)
# Change the first list to listen on port 443 when enabling TLS
#tls self_signed

View File

@ -206,6 +206,7 @@ services:
- "2015:2015"
volumes:
- ./caddy/Caddyfile:/etc/Caddyfile
- ./logs/caddy:/var/log/caddy
links:
- php-fpm