mirror of https://git.tuxpa.in/a/code-server.git
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:
parent
2169045377
commit
ffc47054dd
|
@ -85,6 +85,7 @@ OPTIONS
|
||||||
proxy_pass http://localhost:8443/;
|
proxy_pass http://localhost:8443/;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection upgrade;
|
proxy_set_header Connection upgrade;
|
||||||
|
proxy_set_header Accept-Encoding gzip;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue