Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
nginx: Merge two adjacent location blocks.
Alex Vandiverdf4d695d4f6c
diff --git a/puppet/zulip/files/nginx/zulip-include-frontend/app b/puppet/zulip/files/nginx/zulip-include-frontend/appindex 2419cab71df..2762fd4e244 100644--- a/puppet/zulip/files/nginx/zulip-include-frontend/app+++ b/puppet/zulip/files/nginx/zulip-include-frontend/app@@ -55,13 +55,8 @@ location /help {# These files are hashed and thus immutable; cache them aggressively.# https://github.com/Pagefind/pagefind/issues/747#issuecomment-2510564644- location ~ ^/help/(pagefind/.*\.(?:pf_fragment|pf_index|pf_meta))$ {- add_header Cache-Control "public, max-age=31536000, immutable";- }-- # These files are hashed and thus immutable; cache them aggressively.# https://github.com/withastro/docs/blob/53603ad048e8aedbca1aed77bac8eb00dcada79d/src/content/docs/en/guides/integrations-guide/node.mdx?plain=1#L304- location /help/_astro/ {+ location ~ ^/help/(pagefind/.*\.(?:pf_fragment|pf_index|pf_meta)|_astro/.*)$ {add_header Cache-Control "public, max-age=31536000, immutable";}}