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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm able to get Code-Server working with Docker, NGINX and HTTPs. However, I don't know how to further modify my
app.conffile 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.conffile: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