14 lines
239 B
Caddyfile
14 lines
239 B
Caddyfile
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
|
|
}
|
|
}
|