Skip to content

Commit

Permalink
fix(nginx): correct application/javascript and add application/json t…
Browse files Browse the repository at this point in the history
…o gzip_types
  • Loading branch information
themightychris committed Aug 21, 2020
1 parent 6696da2 commit 0a5b584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ http {
gzip_vary on;
gzip_min_length 10240;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
gzip_types text/plain text/css text/xml application/javascript application/xml application/json image/svg+xml;
gzip_disable "MSIE [1-6]\.";

{{~ #if cfg.http.extra_config}}
Expand Down

0 comments on commit 0a5b584

Please sign in to comment.