expatbase/etc/caddy/Caddyfile
2026-03-25 23:21:05 +09:00

17 lines
378 B
Caddyfile

expatbase.net {
root * /var/www/html/flarum/public
php_fastcgi unix//var/run/php/php8.2-fpm.sock
header /assets/* {
+Cache-Control "public, must-revalidate, proxy-revalidate"
+Cache-Control "max-age=25000"
Pragma "public"
}
file_server
encode zstd gzip
}
mail.expatbase.net {
reverse_proxy localhost:8081
encode zstd gzip
}