From ffc47054dd95a72cfac72242c1970e450f58cd0d Mon Sep 17 00:00:00 2001 From: Easy Date: Wed, 20 Mar 2019 01:59:50 +0800 Subject: [PATCH] update nginx config (#288) should add one line `proxy_set_header Accept-Encoding gzip; ` or you may get a `Cannot GET /` error. --- doc/self-hosted/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/self-hosted/index.md b/doc/self-hosted/index.md index 17b2945b8..42eac65d9 100644 --- a/doc/self-hosted/index.md +++ b/doc/self-hosted/index.md @@ -85,6 +85,7 @@ OPTIONS proxy_pass http://localhost:8443/; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection upgrade; + proxy_set_header Accept-Encoding gzip; } } ```