1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 14:46:18 +09:00

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_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_static on;
location / {
try_files $uri @proxy;