2022-04-25 01:39:01 -05:00
|
|
|
# vim: ft=caddyfile
|
|
|
|
|
|
|
|
forum.bbaovanc.com {
|
|
|
|
encode zstd gzip
|
|
|
|
import hsts
|
|
|
|
|
2022-04-25 18:08:04 -05:00
|
|
|
handle /app/* {
|
|
|
|
reverse_proxy localhost:2083
|
|
|
|
}
|
|
|
|
|
2022-04-25 01:39:01 -05:00
|
|
|
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
|
|
|
|
}
|