Nikerabbit has uploaded a new change for review. https://gerrit.wikimedia.org/r/92616
Change subject: Fix javascript types so that they get compressed by nginx ...................................................................... Fix javascript types so that they get compressed by nginx MediaWiki uses text/javascript, static files probably application/javascript and nothing application/x-javascript. Change-Id: Ie06f0d65b6bed6dce7066490287505e014150df0 --- M puppet/modules/nginx/files/nginx.conf 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/translatewiki refs/changes/16/92616/1 diff --git a/puppet/modules/nginx/files/nginx.conf b/puppet/modules/nginx/files/nginx.conf index dca6ef1..353a988 100644 --- a/puppet/modules/nginx/files/nginx.conf +++ b/puppet/modules/nginx/files/nginx.conf @@ -28,7 +28,7 @@ gzip on; gzip_comp_level 8; gzip_disable "msie6"; - gzip_types text/plain text/css application/json application/x-javascript text/xml application/atom+xml; + gzip_types text/plain text/css application/json application/javascript text/javascript text/xml application/atom+xml; gzip_buffers 16 8k; include /etc/nginx/sites-enabled/*; -- To view, visit https://gerrit.wikimedia.org/r/92616 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie06f0d65b6bed6dce7066490287505e014150df0 Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Nikerabbit <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
