mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01: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:
parent
2169045377
commit
ffc47054dd
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue