docker-compose/examples/caddy/Caddyfile

14 lines
239 B
Caddyfile
Raw Permalink Normal View History

example.com {
root * /var/www/wordpress
encode gzip
php_fastcgi unix//run/php/php-version-fpm.sock
file_server
}
a.example.com {
reverse_proxy http://127.0.0.1:8080
log {
output file /var/log/caddy/a.example.com.log
}
}