From 57d19cef52cf51e85f57860a30e87e366d039cf9 Mon Sep 17 00:00:00 2001 From: Easy Date: Tue, 19 Mar 2019 13:25:59 +0800 Subject: [PATCH] update nginx config 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 17b2945b8f10..42eac65d9d6e 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; } } ```