Replies: 1 comment 3 replies
-
I think you might just need a trailing slash:
```
proxy_pass http://backend_code/;
```
That causes NGINX to remove the base path (/code) from the URL before
proxying to to code-server.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm able to get Code-Server working with Docker, NGINX and HTTPs. However, I don't know how to further modify my
app.conf
file to access code-sever via the endpoint\code\
. Currently it serve Code-server at root\
endpoint. Here is the relevant 443 section on of myapp.conf
file:The below modification to the location results in a 404 page:
Thank you in advance for your help. Much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions