André König
CCoder.com
•Created by André König on 3/16/2023 in #help
HTTPS leads to 502 Bad Gateway
For now, if you were to disable certs on code-server, do any of your use cases break?Good to hear that you plan to support internal HTTPS apps via
coder_app
. No, that is fine 🙂 The only important aspect was that the connection between Coder Server <> code-server
in the workspace is encrypted. Just curious, the proxied traffic between the Coder Server and the workspace (when using code-server
), is this also tunnelled via your Tailscale integration? Just trying to wrap my head around why the coder_app
expects a http://localhost
URL? 🙂13 replies
CCoder.com
•Created by André König on 3/16/2023 in #help
HTTPS leads to 502 Bad Gateway
(But when I read the docs correctly, the traffic between the Coder Server and the actual workspace when using
coder-server
is still encrypted, right? Always a little careful when I see http://
in the config 😄 )13 replies
CCoder.com
•Created by André König on 3/16/2023 in #help
HTTPS leads to 502 Bad Gateway
So the provisioning looks like:
1. Join out Tailnet
2.
tailscale cert
3. Pass the cert & key to code-server
13 replies
CCoder.com
•Created by André König on 3/16/2023 in #help
HTTPS leads to 502 Bad Gateway
Yes,
code-server
is running within the workspace itself. I wanted to use tailscale cert
and let the Coder Server proxy the traffic to the code-server
by using https.13 replies
CCoder.com
•Created by André König on 3/16/2023 in #help
HTTPS leads to 502 Bad Gateway
Hi @bpmct, gotcha, thanks a lot for the clarification. Regarding Tailscale, we're running a corporate Tailnet (where also other services are deployed). Now, we also deployed the Coder Server and the respective workspaces within our Tailnet. That said, each workspace joins our own Tailnet during provisioning.
13 replies