Compare commits

...

2 Commits

Author SHA1 Message Date
58ff080106 Remove log
I never ended up reading the server side logging. Even with `goaccess`,
there was too much noise from bots and crawlers.
2022-05-20 23:34:56 -05:00
047f6943a3 Add archive.boba.best 2022-05-20 23:33:21 -05:00
13 changed files with 10 additions and 21 deletions

View File

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

10
conf.d/archive.boba.best Normal file
View File

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

View File

@ -6,7 +6,6 @@ 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,7 +3,6 @@
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,7 +3,6 @@
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,7 +3,6 @@
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,7 +3,6 @@
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,7 +2,6 @@
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,7 +3,6 @@
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,7 +3,6 @@
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,7 +3,6 @@
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,7 +3,6 @@
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,7 +3,6 @@
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"