You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the abs-proxy-base-path configuration of code-server and have set up a proxy with Nginx. However, when accessing http://nginxIP:port/code/, it shows "not found". Below is my configuration:
abs-proxy-base-path is for code-server's internal proxy for proxying web apps (accessible via /absproxy/$portnumber), but it does not have anything to do with NGINX proxying to code-server, if that makes sense.
Is your NGINX config rewriting the path? code-server expects that when you serve at a sub-path that the sub-path gets rewritten to just /. Usually with NGINX this is accomplished by adding a trailing slash (proxy_pass http://localhost:8080/; for example) but I am not sure what this Lua block is doing.
Is there an existing issue for this?
OS/Web Information
I am using the abs-proxy-base-path configuration of code-server and have set up a proxy with Nginx. However, when accessing http://nginxIP:port/code/, it shows "not found". Below is my configuration:
location ~ ^/code/ {
set $upstream "";
}
Configuration for code-server:
bind-addr: 0.0.0.0:8155
auth: none
cert: false
abs-proxy-base-path: https://tide-test.com/
verbose: true
Steps to Reproduce
Expected
help me reslove this issue
Actual
404
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
Yes, this is also broken in native VS Code
Does this bug reproduce in GitHub Codespaces?
Yes, this is also broken in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: