Port ForwardingSSL issues
Hey everyone,
I just ran into an issue with port forwarding using the coder WebUI. When I try to open a website using port forwarding on port 443 I only get - Apparently it always uses http instead of https?
I also tried to use the CLI port forward, but of course this leads to an SSL error as the domain names don't match.
Basically what I want is to access the website that is being developed inside the workspace with https, not http.
Probably again me being blind to an obvious solution 😄
Thanks in advance!
3 Replies
it does always use http
you should make your app listen on http but expect being accessed as https
coder is essentially reverse-proxying your app
but whenever you use web port-forward your browser will visit the page as https, and the coder agent is the one relaying the http traffic to your coder server
if you're wondering about security because of http then it's definitely not an issue in this case
Oh alright, thanks. It's not as much about security, but more about replicating the production system as close as possible. Changing nginx to serve http instead shouldn't be too bad though.
Marked the thread as resolved.