BBaoVanC
7c7191882e
I never used it because it's not very useful. Too much noise from bots, crawlers, etc.
22 lines
434 B
Plaintext
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
|
|
}
|