diff --git a/Caddyfile b/Caddyfile index 0a8d755..02a6e90 100644 --- a/Caddyfile +++ b/Caddyfile @@ -19,14 +19,4 @@ 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/* diff --git a/conf.d/bbaovanc.com b/conf.d/bbaovanc.com index 4b52816..084a4cd 100644 --- a/conf.d/bbaovanc.com +++ b/conf.d/bbaovanc.com @@ -6,7 +6,6 @@ www.bbaovanc.com { bbaovanc.com { import hsts - import log header Cache-Control no-cache root * /var/www/bbaovanc.com/public diff --git a/conf.d/brainman.org b/conf.d/brainman.org index 23c1250..0f59775 100644 --- a/conf.d/brainman.org +++ b/conf.d/brainman.org @@ -6,7 +6,6 @@ www.brainman.org { brainman.org { import hsts - import log header Cache-Control no-cache root * /var/www/brainman.org/public diff --git a/conf.d/commento.bbaovanc.com b/conf.d/commento.bbaovanc.com index 06cbebb..81a417c 100644 --- a/conf.d/commento.bbaovanc.com +++ b/conf.d/commento.bbaovanc.com @@ -3,7 +3,6 @@ commento.bbaovanc.com { encode zstd gzip import hsts - import log reverse_proxy localhost:83 diff --git a/conf.d/demo.bbaovanc.com b/conf.d/demo.bbaovanc.com index 598f687..9efb37d 100644 --- a/conf.d/demo.bbaovanc.com +++ b/conf.d/demo.bbaovanc.com @@ -2,7 +2,6 @@ demo.bbaovanc.com { import hsts - import log header Cache-Control no-store header X-Robots-Tag noindex diff --git a/conf.d/dorito.boba.best b/conf.d/dorito.boba.best index 3ecba84..8bd8c8b 100644 --- a/conf.d/dorito.boba.best +++ b/conf.d/dorito.boba.best @@ -3,7 +3,6 @@ dorito.boba.best { encode zstd gzip import hsts - import log redir https://discord.gg/NZWzSCY5UE import basicerrors } diff --git a/conf.d/errors.bbaovanc.com b/conf.d/errors.bbaovanc.com index 4135c8c..8cc3803 100644 --- a/conf.d/errors.bbaovanc.com +++ b/conf.d/errors.bbaovanc.com @@ -3,7 +3,6 @@ errors.bbaovanc.com { encode zstd gzip import hsts - import log root * /etc/caddy/errors/img file_server import basicerrors diff --git a/conf.d/flower.boba.best b/conf.d/flower.boba.best index 0caeda5..dbac851 100644 --- a/conf.d/flower.boba.best +++ b/conf.d/flower.boba.best @@ -3,7 +3,6 @@ flower.boba.best { encode zstd gzip import hsts - import log root * /var/www/flower.boba.best handle { diff --git a/conf.d/forum.bbaovanc.com b/conf.d/forum.bbaovanc.com index 925141b..efa6245 100644 --- a/conf.d/forum.bbaovanc.com +++ b/conf.d/forum.bbaovanc.com @@ -3,7 +3,6 @@ forum.bbaovanc.com { encode zstd gzip import hsts - import log handle /app/* { reverse_proxy localhost:2083 diff --git a/conf.d/furry.boba.best b/conf.d/furry.boba.best index 50d5c8f..1a7f0ec 100644 --- a/conf.d/furry.boba.best +++ b/conf.d/furry.boba.best @@ -3,7 +3,6 @@ furry.boba.best { encode zstd gzip import hsts - import log root * /var/www/furry.boba.best handle { diff --git a/conf.d/git.bbaovanc.com b/conf.d/git.bbaovanc.com index 65388a6..a9f38a2 100644 --- a/conf.d/git.bbaovanc.com +++ b/conf.d/git.bbaovanc.com @@ -3,7 +3,6 @@ git.bbaovanc.com { encode zstd gzip import hsts - import log handle_path /_/static/assets/* { root * /var/www/git.bbaovanc.com/public diff --git a/conf.d/img.bbaovanc.com b/conf.d/img.bbaovanc.com index 71cfa87..c6f06f6 100644 --- a/conf.d/img.bbaovanc.com +++ b/conf.d/img.bbaovanc.com @@ -4,7 +4,6 @@ img.bbaovanc.com { encode zstd gzip import hsts - import log root * /var/www/img.bbaovanc.com file_server { diff --git a/conf.d/isso.bbaovanc.com b/conf.d/isso.bbaovanc.com index 4793ce9..54423da 100644 --- a/conf.d/isso.bbaovanc.com +++ b/conf.d/isso.bbaovanc.com @@ -3,7 +3,6 @@ isso.bbaovanc.com { encode zstd gzip import hsts - import log reverse_proxy localhost:86 { header_down Cache-Control no-cache diff --git a/conf.d/lhci.bbaovanc.com b/conf.d/lhci.bbaovanc.com index 337f936..2093fe2 100644 --- a/conf.d/lhci.bbaovanc.com +++ b/conf.d/lhci.bbaovanc.com @@ -3,7 +3,6 @@ lhci.bbaovanc.com { encode zstd gzip import hsts - import log reverse_proxy localhost:87 diff --git a/conf.d/lists.bbaovanc.com b/conf.d/lists.bbaovanc.com index 28c37e8..8287ac2 100644 --- a/conf.d/lists.bbaovanc.com +++ b/conf.d/lists.bbaovanc.com @@ -3,7 +3,6 @@ lists.bbaovanc.com { encode zstd gzip import hsts - import log reverse_proxy localhost:85 diff --git a/conf.d/media.bbaovanc.com b/conf.d/media.bbaovanc.com index b11ad1f..d0310e5 100644 --- a/conf.d/media.bbaovanc.com +++ b/conf.d/media.bbaovanc.com @@ -3,7 +3,6 @@ media.bbaovanc.com { encode zstd gzip import hsts - import log root * /var/www/media.bbaovanc.com file_server { diff --git a/conf.d/plausible.bbaovanc.com b/conf.d/plausible.bbaovanc.com index b06d1de..4a3db9f 100644 --- a/conf.d/plausible.bbaovanc.com +++ b/conf.d/plausible.bbaovanc.com @@ -3,7 +3,6 @@ plausible.bbaovanc.com { encode zstd gzip import hsts - import log rewrite /js/bobalytics.js /js/plausible.js rewrite /js/bobalytics.outbound-links.js /js/plausible.outbound-links.js diff --git a/conf.d/remark.bbaovanc.com b/conf.d/remark.bbaovanc.com index 6c47cbe..a0a5655 100644 --- a/conf.d/remark.bbaovanc.com +++ b/conf.d/remark.bbaovanc.com @@ -3,7 +3,6 @@ remark.bbaovanc.com { encode zstd gzip import hsts - import log reverse_proxy localhost:82 { header_up X-Real-IP {remote_host} diff --git a/conf.d/rick.bbaovanc.com b/conf.d/rick.bbaovanc.com index 5d3180e..8f5e54c 100644 --- a/conf.d/rick.bbaovanc.com +++ b/conf.d/rick.bbaovanc.com @@ -3,7 +3,6 @@ rick.bbaovanc.com, rick.boba.best { encode zstd gzip import hsts - import log redir https://www.youtube.com/watch?v=dQw4w9WgXcQ temporary import basicerrors } diff --git a/conf.d/stib.boba.best b/conf.d/stib.boba.best index d35a7ed..b4aab85 100644 --- a/conf.d/stib.boba.best +++ b/conf.d/stib.boba.best @@ -3,7 +3,6 @@ stib.boba.best { encode zstd gzip import hsts - import log root * /var/www/stib.boba.best handle {