Commit 29d714a8 authored by Eric Pfeiffer's avatar Eric Pfeiffer

caddy log to file. enable gzip compression.

parent f9fd3918
...@@ -9,9 +9,10 @@ rewrite { ...@@ -9,9 +9,10 @@ rewrite {
ext / ext /
to /index.php?{query} to /index.php?{query}
} }
gzip
browse browse
log stdout log /var/log/caddy/access.log
errors stderr errors /var/log/caddy/error.log
# Uncomment to enable TLS (HTTPS) # Uncomment to enable TLS (HTTPS)
# Change the first list to listen on port 443 when enabling TLS # Change the first list to listen on port 443 when enabling TLS
#tls self_signed #tls self_signed
...@@ -206,6 +206,7 @@ services: ...@@ -206,6 +206,7 @@ services:
- "2015:2015" - "2015:2015"
volumes: volumes:
- ./caddy/Caddyfile:/etc/Caddyfile - ./caddy/Caddyfile:/etc/Caddyfile
- ./logs/caddy:/var/log/caddy
links: links:
- php-fpm - php-fpm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment