better to use common-settings here

This commit is contained in:
Ruben 2025-07-12 00:29:20 -05:00
commit a21c6bd002
No known key found for this signature in database
GPG key ID: 8EA836555FB6D9A5
2 changed files with 7 additions and 7 deletions

View file

@ -7,13 +7,13 @@ masto.beeping.synth.download, masto.booping.synth.download {
handle_path /favicon.png { handle_path /favicon.png {
root * /var/www/website/assets/synth.download/synth.png root * /var/www/website/assets/synth.download/synth.png
file_server file_server
encode zstd gzip import common-settings
} }
handle_path /packs { handle_path /packs {
root * /var/www/fedi-frontends/chuckya-fe/packs root * /var/www/fedi-frontends/chuckya-fe/packs
file_server file_server
encode zstd gzip import common-settings
} }
import common-settings import common-settings
@ -31,14 +31,14 @@ akko.beeping.synth.download {
} }
handle @redir { handle @redir {
reverse_proxy 127.0.0.1:24042 reverse_proxy 127.0.0.1:24042
encode zstd gzip import common-settings
} }
# favicon # favicon
handle_path /favicon.png { handle_path /favicon.png {
root * /var/www/website/assets/synth.download/synth.png root * /var/www/website/assets/synth.download/synth.png
file_server file_server
encode zstd gzip import common-settings
} }
# akkoma frontend # akkoma frontend
@ -46,14 +46,14 @@ akko.beeping.synth.download {
header Cache-Control "max-age=3600" header Cache-Control "max-age=3600"
try_files {path} / try_files {path} /
root * /var/www/fedi-frontends/akkoma-fe root * /var/www/fedi-frontends/akkoma-fe
encode zstd gzip
file_server file_server
import common-settings
} }
handle_path /static/* { handle_path /static/* {
header Cache-Control "max-age=3600" header Cache-Control "max-age=3600"
root * /var/www/fedi-frontends/akkoma-fe/static root * /var/www/fedi-frontends/akkoma-fe/static
encode zstd gzip
file_server file_server
import common-settings
} }
import common-settings import common-settings

View file

@ -5,7 +5,7 @@ beeping.synth.download {
handle_path /assets/synth.download/synth.png { handle_path /assets/synth.download/synth.png {
root * /var/www/website/assets/synth.download/synth.png root * /var/www/website/assets/synth.download/synth.png
file_server file_server
encode zstd gzip import common-settings
} }
import common-settings import common-settings