mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
help: Pre compress astro build files before serving.
This way nginx doesn't have to compress it every time.
This commit is contained in:
committed by
Alex Vandiver
parent
1a34016e4a
commit
57b7ada2e4
@@ -36,10 +36,7 @@ location ~ ^(/help(?:/[^/]+)*)/+$ {
|
||||
location /help {
|
||||
alias $help_alias;
|
||||
|
||||
gzip on;
|
||||
gzip_min_length 1000;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
gzip_static on;
|
||||
include /etc/nginx/zulip-include/headers;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Timing-Allow-Origin *;
|
||||
|
Reference in New Issue
Block a user