improve nginx.conf by setting gzip_static to on (#30698)

This commit is contained in:
Joshix-1 2024-11-21 17:39:56 +01:00 committed by GitHub
parent 4bfb8887bf
commit 68c7782940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

1
dist/nginx.conf vendored
View file

@ -63,6 +63,7 @@ server {
gzip_buffers 16 8k; gzip_buffers 16 8k;
gzip_http_version 1.1; gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml image/x-icon; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml image/x-icon;
gzip_static on;
location / { location / {
try_files $uri @proxy; try_files $uri @proxy;