1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00

update nginx config (#288)

should add one line `proxy_set_header Accept-Encoding gzip; `  or you may get a  `Cannot GET /` error.
This commit is contained in:
Easy 2019-03-20 01:59:50 +08:00 committed by Kyle Carberry
parent 2169045377
commit ffc47054dd

View File

@ -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;
}
}
```