diff --git a/conf.d/forum.bbaovanc.com b/conf.d/forum.bbaovanc.com new file mode 100644 index 0000000..953f61c --- /dev/null +++ b/conf.d/forum.bbaovanc.com @@ -0,0 +1,18 @@ +# vim: ft=caddyfile + +forum.bbaovanc.com { + encode zstd gzip + import hsts + import log + + 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 +} diff --git a/conf.d/isso.bbaovanc.com b/conf.d/isso.bbaovanc.com new file mode 100644 index 0000000..2ee844c --- /dev/null +++ b/conf.d/isso.bbaovanc.com @@ -0,0 +1,11 @@ +# vim: ft=caddyfile + +isso.bbaovanc.com { + encode zstd gzip + import hsts + import log + + reverse_proxy localhost:86 + + import basicerrors +} diff --git a/conf.d/lists.bbaovanc.com b/conf.d/lists.bbaovanc.com new file mode 100644 index 0000000..28c37e8 --- /dev/null +++ b/conf.d/lists.bbaovanc.com @@ -0,0 +1,11 @@ +# vim: ft=caddyfile + +lists.bbaovanc.com { + encode zstd gzip + import hsts + import log + + reverse_proxy localhost:85 + + import basicerrors +}