FaeWulf
FaeWulf
Explore posts from servers
CCoder.com
Created by FaeWulf on 9/1/2022 in #help
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:
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;
}
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;
}
But it doesn't work
10 replies