mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
PERF: enable gzip on proxied requests
This commit is contained in:
parent
d5fd6d2639
commit
18a929d801
|
@ -40,6 +40,7 @@ server {
|
|||
gzip_min_length 1000;
|
||||
gzip_comp_level 5;
|
||||
gzip_types application/json text/css application/x-javascript application/javascript image/svg+xml;
|
||||
gzip_proxied any;
|
||||
|
||||
# Uncomment and configure this section for HTTPS support
|
||||
# NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)
|
||||
|
|
Loading…
Reference in New Issue
Block a user