cache images
All checks were successful
Build Docker / deploy (push) Successful in 40s
Build Docker / build (push) Successful in 35s

This commit is contained in:
2026-03-19 03:06:41 +03:00
parent 7bdf422c32
commit 66b6878e50

View File

@@ -9,6 +9,9 @@ https://ru.homyk.space {
} }
handle_path /main/* { handle_path /main/* {
@images path_regexp \.(jpg|jpeg|png|webp|gif|svg)$
header @images Cache-Control "public, max-age=604800"
forward_auth backend:{$PORT} { forward_auth backend:{$PORT} {
uri /api/verify uri /api/verify
copy_headers Authorization copy_headers Authorization