Permalink
Browse files

fix(http): allows sending gzipped JavaScript on nginx < 1.5.4

Before 1.5.4, nginx sent JavaScript with application/x-javascript. This
change allows our config to support both.

See http://stackoverflow.com/questions/21788833/nginx-mime-types-and-gzip
  • Loading branch information...
mrclay committed Oct 20, 2015
1 parent c2e73ca commit 4c4b8ab7aee765d09bc59d541693e5a2643bb3ba
Showing with 1 addition and 0 deletions.
  1. +1 −0 install/config/nginx.dist
@@ -33,6 +33,7 @@ server {
text/plain
text/x-component
application/javascript
+ application/x-javascript
application/json
application/xml
application/rss+xml

0 comments on commit 4c4b8ab

Please sign in to comment.