Skip to content

Commit 09e48f4

Browse files
authored
fix proxito header (#11680)
* Fix Content type on addons in dev * Keep caching
1 parent 9344b02 commit 09e48f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockerfiles/nginx/proxito.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ server {
2424
location /_/static/javascript/readthedocs-addons.js {
2525
proxy_pass https://raw.githubusercontent.com/readthedocs/addons/$NGINX_ADDONS_GITHUB_TAG/dist/readthedocs-addons.js;
2626
proxy_cache_valid 24h;
27+
proxy_hide_header Content-Type;
2728
add_header Content-Type "text/javascript; charset=utf-8" always;
2829
}
2930

0 commit comments

Comments
 (0)