No port-forwarding in the web UI

(from @DuckyDev in #general)
39 Replies
Codercord
Codercord4mo ago
<#1287044414065213560>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
PhorcysOP4mo ago
Ducky
Ducky4mo ago
im on linux
Phorcys
PhorcysOP4mo ago
hey @DuckyDev, do you have a wildcard access url configured?
Ducky
Ducky4mo ago
nope when did they change that
Phorcys
PhorcysOP4mo ago
you need one for port-forwarding to work, it was changed not so long ago
Ducky
Ducky4mo ago
figured
Phorcys
PhorcysOP4mo ago
using sub-paths caused big security issues so now sub-domains are being enforced you can interact with the bot by the way, i usually fill the two first questions because I already have the info :-)
Ducky
Ducky4mo ago
can i use with nginx proxy manager
Ducky
Ducky4mo ago
No description
Phorcys
PhorcysOP4mo ago
oh right I created the thread, i need to fix this
Ducky
Ducky4mo ago
lol how can i use with Nginx Proxy Manager or do i just have to use nginx bare
Phorcys
PhorcysOP4mo ago
yes you can, all you have to do is to make *.coder.example.com (where coder.example.com is where Coder is hosted) reverse-proxy the Coder instance basically exactly the same thing as with coder.example.com but for the wildcard subdomain and then configure the wildcard access URL in Coder
Ducky
Ducky4mo ago
ok ill try
Phorcys
PhorcysOP4mo ago
let us know if you have any questions!
Ducky
Ducky4mo ago
thank you for the quick help btw
Phorcys
PhorcysOP4mo ago
no worries!
Ducky
Ducky4mo ago
wait so what abt the port
Phorcys
PhorcysOP4mo ago
i'm not sure I understand the question basically setting a wildcard access URL will enable port-forwarding in the web ui
Ducky
Ducky4mo ago
what i should i put for the port
No description
Ducky
Ducky4mo ago
because its a wildcard
Phorcys
PhorcysOP4mo ago
oh well just edit your existing coder.ambrosia.gg and add *.coder.ambrosia.gg to it
Ducky
Ducky4mo ago
oh
Phorcys
PhorcysOP4mo ago
there might be some specific stuff to do with SSL because you also need to fetch a cert for that domain, but I am not familiar with Nginx Proxy Manager so I can't really tell you
Ducky
Ducky4mo ago
illl figure something out aa welp
Ducky
Ducky4mo ago
No description
Ducky
Ducky4mo ago
No description
Ducky
Ducky4mo ago
No description
Phorcys
PhorcysOP4mo ago
I think the IP that you configure in coder.ambrosia.gg should be a local one instead of public but probably give it some time to update the cache
Ducky
Ducky4mo ago
ima try with bare
Ducky
Ducky4mo ago
it does show
No description
Ducky
Ducky4mo ago
so now another problem i get one agent is unhealthy
Ducky
Ducky4mo ago
maybe a DERP issue
Ducky
Ducky4mo ago
yep
No description
Phorcys
PhorcysOP4mo ago
hey @DuckyDev, did you sort this out?
Ducky
Ducky4mo ago
yep works like a charm
Phorcys
PhorcysOP4mo ago
great! what was the issue?
Codercord
Codercord3mo ago
@Phorcys closed the thread.

Did you find this page helpful?