From a21c6bd002bc1a8a5f47d522376d17dcdd7c818a Mon Sep 17 00:00:00 2001 From: Ruben Date: Sat, 12 Jul 2025 00:29:20 -0500 Subject: [PATCH] better to use common-settings here --- .old/etc/caddy/sites-enabled/fedi-frontends | 12 ++++++------ .old/etc/caddy/sites-enabled/iceshrimp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.old/etc/caddy/sites-enabled/fedi-frontends b/.old/etc/caddy/sites-enabled/fedi-frontends index e9e5197..ea7ada4 100644 --- a/.old/etc/caddy/sites-enabled/fedi-frontends +++ b/.old/etc/caddy/sites-enabled/fedi-frontends @@ -7,13 +7,13 @@ masto.beeping.synth.download, masto.booping.synth.download { handle_path /favicon.png { root * /var/www/website/assets/synth.download/synth.png file_server - encode zstd gzip + import common-settings } handle_path /packs { root * /var/www/fedi-frontends/chuckya-fe/packs file_server - encode zstd gzip + import common-settings } import common-settings @@ -31,14 +31,14 @@ akko.beeping.synth.download { } handle @redir { reverse_proxy 127.0.0.1:24042 - encode zstd gzip + import common-settings } # favicon handle_path /favicon.png { root * /var/www/website/assets/synth.download/synth.png file_server - encode zstd gzip + import common-settings } # akkoma frontend @@ -46,14 +46,14 @@ akko.beeping.synth.download { header Cache-Control "max-age=3600" try_files {path} / root * /var/www/fedi-frontends/akkoma-fe - encode zstd gzip file_server + import common-settings } handle_path /static/* { header Cache-Control "max-age=3600" root * /var/www/fedi-frontends/akkoma-fe/static - encode zstd gzip file_server + import common-settings } import common-settings diff --git a/.old/etc/caddy/sites-enabled/iceshrimp b/.old/etc/caddy/sites-enabled/iceshrimp index 2b78c4e..be7a418 100644 --- a/.old/etc/caddy/sites-enabled/iceshrimp +++ b/.old/etc/caddy/sites-enabled/iceshrimp @@ -5,7 +5,7 @@ beeping.synth.download { handle_path /assets/synth.download/synth.png { root * /var/www/website/assets/synth.download/synth.png file_server - encode zstd gzip + import common-settings } import common-settings