diff --git a/infra/occupymedia/edge/nginx.conf b/infra/occupymedia/edge/nginx.conf index c096e5c..699e407 100644 --- a/infra/occupymedia/edge/nginx.conf +++ b/infra/occupymedia/edge/nginx.conf @@ -248,6 +248,8 @@ http { proxy_pass http://192.168.13.210:9200; proxy_http_version 1.1; proxy_set_header Host $host; + # sub_filter cannot rewrite upstream-gzipped bodies; force plain HTML. + proxy_set_header Accept-Encoding ""; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header Upgrade $http_upgrade;