caddy/conf.d/forum.bbaovanc.com
BBaoVanC 7c7191882e Remove worthless server side logging
I never used it because it's not very useful. Too much noise from bots,
crawlers, etc.
2022-05-20 22:56:37 -05:00

22 lines
434 B
Plaintext

# vim: ft=caddyfile
forum.bbaovanc.com {
encode zstd gzip
import hsts
handle /app/* {
reverse_proxy localhost:2083
}
root * /var/www/forum.bbaovanc.com/public
php_fastcgi unix//run/php/php-fpm.sock
header /assets/* {
+Cache-Control "public, must-revalidate, proxy-revalidate"
+Cache-Control "max-age=25000"
Pragma "public"
}
file_server
import basicerrors
}