Coder.comC
Coder.com3y ago
5 replies
keyboarddabbler

reverse proxy issue Accessing web services

My current setup which plays nice with all of my current services is using OPNSense, HAProxy, ACME & Cloudflare.
Code-server is hosted via docker.

I can access https://code.example.com but if I launch Live Server for example and navigate to https://code.example.com/proxy/5500 a file explorer type page is rendered which errors Not found. when navigating .

Okay so I heard subpath doesn't play nice, i added a variable to my code-server container VSCODE_PROXY_URI=https://{{port}}.code.example.com now when I launch Live Server a new tab opens and correctly directs me to https://5500.code.example.com but I have a error chiper mismatch after alot of searching I believe this is because Cloudflare only covers 1 level subdomains. I would have to subscribe to the $10/month package.

How are people solving this, i would prefer to stay with my current setup.
Can anyone help or explain why subpath is not working. Do the majority not use cloudflare and if they do are they paying the sub?
Was this page helpful?