diff --git a/docs/examples/iceshrimp.nginx.conf b/docs/examples/iceshrimp.nginx.conf index ff7b0b09d..edf15fa47 100644 --- a/docs/examples/iceshrimp.nginx.conf +++ b/docs/examples/iceshrimp.nginx.conf @@ -47,6 +47,12 @@ server { # Change to your upload limit client_max_body_size 80m; + # Gzip compression + gzip on; + gzip_proxied any; + gzip_comp_level 6; + gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml; + # Proxy to Node location / { proxy_pass http://127.0.0.1:3000;