diff --git a/dockerfiles/nginx/proxito.conf.template b/dockerfiles/nginx/proxito.conf.template index 23ce101087f..592872f2737 100644 --- a/dockerfiles/nginx/proxito.conf.template +++ b/dockerfiles/nginx/proxito.conf.template @@ -31,6 +31,7 @@ server { location /_/static/javascript/readthedocs-addons.js.map { proxy_pass https://raw.githubusercontent.com/readthedocs/addons/$NGINX_ADDONS_GITHUB_TAG/dist/readthedocs-addons.js.map; proxy_cache_valid 24h; + proxy_hide_header Content-Type; add_header Content-Type "text/javascript; charset=utf-8" always; }