Compare commits

..

No commits in common. "58ff0801064dc925434a8c6cdb6b2ca1adcb892d" and "d66f822573f1382f6d86ecb1332664bd494a493f" have entirely different histories.

13 changed files with 21 additions and 10 deletions

View File

@ -40,4 +40,14 @@
} }
} }
(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

@ -1,10 +0,0 @@
# vim: ft=caddyfile
archive.boba.best {
encode zstd gzip
import hsts
reverse_proxy localhost:90
import basicerrors
}

View File

@ -6,6 +6,7 @@ www.boba.best {
boba.best { boba.best {
import matrix-well-known import matrix-well-known
import hsts import hsts
import log
header Access-Control-Allow-Origin * header Access-Control-Allow-Origin *
header Cache-Control no-cache header Cache-Control no-cache

View File

@ -3,6 +3,7 @@
drone.boba.best { drone.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:8081 { reverse_proxy localhost:8081 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}

View File

@ -3,6 +3,7 @@
errors.boba.best { errors.boba.best {
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 @@
git.boba.best { git.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
handle_path /_/static/assets/* { handle_path /_/static/assets/* {
root * /var/www/git.boba.best/public root * /var/www/git.boba.best/public

View File

@ -3,6 +3,7 @@
grafana.boba.best { grafana.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:84 reverse_proxy localhost:84
import basicerrors import basicerrors

View File

@ -2,6 +2,7 @@
hetz.boba.best { hetz.boba.best {
import hsts import hsts
import log
header Access-Control-Allow-Origin * header Access-Control-Allow-Origin *
root * /var/www/hetz.boba.best/public root * /var/www/hetz.boba.best/public

View File

@ -3,6 +3,7 @@
mail.boba.best mail.bbaovanc.com autodiscover.boba.best autodiscover.bbaovanc.com autoconfig.boba.best autoconfig.bbaovanc.com { mail.boba.best mail.bbaovanc.com autodiscover.boba.best autodiscover.bbaovanc.com autoconfig.boba.best autoconfig.bbaovanc.com {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
reverse_proxy localhost:8082 { reverse_proxy localhost:8082 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}

View File

@ -3,6 +3,7 @@
share.boba.best { share.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
handle { handle {
reverse_proxy localhost:87 reverse_proxy localhost:87

View File

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

View File

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

View File

@ -3,6 +3,7 @@
vault.boba.best { vault.boba.best {
encode zstd gzip encode zstd gzip
import hsts import hsts
import log
header { header {
X-XSS-Protection "1; mode=block" X-XSS-Protection "1; mode=block"