Configure nginx to gzip our svg and js files.
This commit is contained in:
parent
b7aac159ae
commit
51ba68d135
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ gzip_min_length 500;
|
||||||
gzip_disable "MSIE [1-6]\.";
|
gzip_disable "MSIE [1-6]\.";
|
||||||
gzip_types text/plain text/xml text/css
|
gzip_types text/plain text/xml text/css
|
||||||
text/javascript application/x-javascript
|
text/javascript application/x-javascript
|
||||||
|
application/javascript image/svg+xml
|
||||||
application/octet-stream;
|
application/octet-stream;
|
||||||
|
|
||||||
map $proxy_protocol_addr $proper_forwarded_for {
|
map $proxy_protocol_addr $proper_forwarded_for {
|
||||||
|
|
Reference in a new issue