jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Ori.livneh: Looks good to me, but someone else must approve Siebrand: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: Ie06f0d65b6bed6dce7066490287505e014150df0 Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Nikerabbit <[email protected]> Gerrit-Reviewer: Ori.livneh <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
