mirror of
https://github.com/mastodon/mastodon
synced 2024-11-27 06:18:17 +09:00
improve nginx.conf by setting gzip_static to on (#30698)
This commit is contained in:
parent
4bfb8887bf
commit
68c7782940
1
dist/nginx.conf
vendored
1
dist/nginx.conf
vendored
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user