code-server with proxy_pass
I want to move code-server into www.domain/vscode instead of www.domain
here is my current nginx block:
But it doesn't work
here is my current nginx block:
But it doesn't work
location /code {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}