mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
improve nginx.conf by setting gzip_static to on
This commit is contained in:
parent
179f7b11ba
commit
db35281741
1 changed files with 1 additions and 0 deletions
1
dist/nginx.conf
vendored
1
dist/nginx.conf
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue