Compare commits

..

No commits in common. "8d96cb6de213d3943a79ea254229e7df1d02f1f6" and "d7c8a425de817fcc1e4163ce266eac2554e4b758" have entirely different histories.

21 changed files with 29 additions and 40 deletions

View File

@ -19,4 +19,14 @@
header Strict-Transport-Security max-age=31536000 header Strict-Transport-Security max-age=31536000
} }
(log) {
log {
output file /var/log/caddy/access.log {
roll_size 1GiB
roll_keep 5
roll_keep_for 168h
}
}
}
import conf.d/* import conf.d/*

View File

@ -6,6 +6,7 @@ www.bbaovanc.com {
bbaovanc.com { bbaovanc.com {
import hsts import hsts
import log
header Cache-Control no-cache header Cache-Control no-cache
root * /var/www/bbaovanc.com/public root * /var/www/bbaovanc.com/public

View File

@ -6,6 +6,7 @@ www.brainman.org {
brainman.org { brainman.org {
import hsts import hsts
import log
header Cache-Control no-cache header Cache-Control no-cache
root * /var/www/brainman.org/public root * /var/www/brainman.org/public

View File

@ -3,6 +3,7 @@
commento.bbaovanc.com { commento.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:83 reverse_proxy localhost:83

View File

@ -2,6 +2,7 @@
demo.bbaovanc.com { demo.bbaovanc.com {
import hsts import hsts
import log
header Cache-Control no-store header Cache-Control no-store
header X-Robots-Tag noindex header X-Robots-Tag noindex

View File

@ -3,6 +3,7 @@
dorito.boba.best { dorito.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
redir https://discord.gg/NZWzSCY5UE redir https://discord.gg/NZWzSCY5UE
import basicerrors import basicerrors
} }

View File

@ -3,6 +3,7 @@
errors.bbaovanc.com { errors.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
root * /etc/caddy/errors/img root * /etc/caddy/errors/img
file_server file_server
import basicerrors import basicerrors

View File

@ -3,6 +3,7 @@
flower.boba.best { flower.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
root * /var/www/flower.boba.best root * /var/www/flower.boba.best
handle { handle {

View File

@ -3,6 +3,7 @@
forum.bbaovanc.com { forum.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
handle /app/* { handle /app/* {
reverse_proxy localhost:2083 reverse_proxy localhost:2083

View File

@ -3,6 +3,7 @@
furry.boba.best { furry.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
root * /var/www/furry.boba.best root * /var/www/furry.boba.best
handle { handle {

View File

@ -3,6 +3,7 @@
git.bbaovanc.com { git.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
handle_path /_/static/assets/* { handle_path /_/static/assets/* {
root * /var/www/git.bbaovanc.com/public root * /var/www/git.bbaovanc.com/public

View File

@ -4,6 +4,7 @@
img.bbaovanc.com { img.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
root * /var/www/img.bbaovanc.com root * /var/www/img.bbaovanc.com
file_server { file_server {

View File

@ -3,6 +3,7 @@
isso.bbaovanc.com { isso.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:86 { reverse_proxy localhost:86 {
header_down Cache-Control no-cache header_down Cache-Control no-cache

View File

@ -3,6 +3,7 @@
lhci.bbaovanc.com { lhci.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:87 reverse_proxy localhost:87

View File

@ -1,40 +0,0 @@
# vim: ft=caddyfile
linkace.bbaovanc.com {
encode zstd gzip
import hsts
root * /var/www/linkace.bbaovanc.com/public
php_fastcgi unix//run/php/php-fpm.sock
header {
X-Frame-Options "SAMEORIGIN"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
}
@assets {
path *.css
path *.js
path *.map
path *.scss
path *.jpg
path *.jpeg
path *.png
path *.avif
path *.gif
path *.mp4
path *.woff
path *.woff2
path *.ico
path *.svg
path *.webmanifest
}
header @assets {
Test "working"
}
file_server
import basicerrors
}

View File

@ -3,6 +3,7 @@
lists.bbaovanc.com { lists.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:85 reverse_proxy localhost:85

View File

@ -3,6 +3,7 @@
media.bbaovanc.com { media.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
root * /var/www/media.bbaovanc.com root * /var/www/media.bbaovanc.com
file_server { file_server {

View File

@ -3,6 +3,7 @@
plausible.bbaovanc.com { plausible.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
rewrite /js/bobalytics.js /js/plausible.js rewrite /js/bobalytics.js /js/plausible.js
rewrite /js/bobalytics.outbound-links.js /js/plausible.outbound-links.js rewrite /js/bobalytics.outbound-links.js /js/plausible.outbound-links.js

View File

@ -3,6 +3,7 @@
remark.bbaovanc.com { remark.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:82 { reverse_proxy localhost:82 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}

View File

@ -3,6 +3,7 @@
rick.bbaovanc.com, rick.boba.best { rick.bbaovanc.com, rick.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
redir https://www.youtube.com/watch?v=dQw4w9WgXcQ temporary redir https://www.youtube.com/watch?v=dQw4w9WgXcQ temporary
import basicerrors import basicerrors
} }

View File

@ -3,6 +3,7 @@
stib.boba.best { stib.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
root * /var/www/stib.boba.best root * /var/www/stib.boba.best
handle { handle {