No port-forwarding in the web UI

(from @DuckyDev in #general)
39 Replies
Codercord
Codercord3mo ago
<#1287044414065213560>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
PhorcysOP3mo ago
Ducky
Ducky3mo ago
im on linux
Phorcys
PhorcysOP3mo ago
hey @DuckyDev, do you have a wildcard access url configured?
Ducky
Ducky3mo ago
nope when did they change that
Phorcys
PhorcysOP3mo ago
you need one for port-forwarding to work, it was changed not so long ago
Ducky
Ducky3mo ago
figured
Phorcys
PhorcysOP3mo 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
Ducky3mo ago
can i use with nginx proxy manager
Ducky
Ducky3mo ago
No description
Phorcys
PhorcysOP3mo ago
oh right I created the thread, i need to fix this
Ducky
Ducky3mo ago
lol how can i use with Nginx Proxy Manager or do i just have to use nginx bare
Phorcys
PhorcysOP3mo 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
Ducky3mo ago
ok ill try
Phorcys
PhorcysOP3mo ago
let us know if you have any questions!
Ducky
Ducky3mo ago
thank you for the quick help btw
Phorcys
PhorcysOP3mo ago
no worries!
Ducky
Ducky3mo ago
wait so what abt the port
Phorcys
PhorcysOP3mo ago
i'm not sure I understand the question basically setting a wildcard access URL will enable port-forwarding in the web ui
Ducky
Ducky3mo ago
what i should i put for the port
No description
Ducky
Ducky3mo ago
because its a wildcard
Phorcys
PhorcysOP3mo ago
oh well just edit your existing coder.ambrosia.gg and add *.coder.ambrosia.gg to it
Ducky
Ducky3mo ago
oh
Phorcys
PhorcysOP3mo 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
Ducky3mo ago
illl figure something out aa welp
Ducky
Ducky3mo ago
No description
Ducky
Ducky3mo ago
No description
Ducky
Ducky3mo ago
No description
Phorcys
PhorcysOP3mo 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
Ducky3mo ago
ima try with bare
Ducky
Ducky3mo ago
it does show
No description
Ducky
Ducky3mo ago
so now another problem i get one agent is unhealthy
Ducky
Ducky3mo ago
maybe a DERP issue
Ducky
Ducky3mo ago
yep
No description
Phorcys
PhorcysOP3mo ago
hey @DuckyDev, did you sort this out?
Ducky
Ducky3mo ago
yep works like a charm
Phorcys
PhorcysOP3mo ago
great! what was the issue?
Codercord
Codercord2mo ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server