Does anyone have experience using nginx's reverse proxy to effectively take a FQDN and invisibly redirect web traffic to a different port/server? I heard rumors that eChicken might use nginx. I'm having some configuration issues that I'm trying to clear up.
I want users that go to shodanscore.com, or www.shodanscore.com in a web browser, for nginx to proxy_pass to localhost:9443.
This is just for the web service. My ssh/telnet/rlogin stuff is all default. I want to move the web service off ports 80/443 and make it so the user/internet doesn't notice. I have a couple other "things" running and nginx seems to be handling them fine. I just need to figure out sbbs.
Does anyone have experience using nginx's reverse proxy to
effectively take a FQDN and invisibly redirect web traffic
to a different port/server? I heard rumors that eChicken
might use nginx. I'm having some configuration issues that
I'm trying to clear up.
I want users that go to shodanscore.com, or www.shodanscore.com
in a web browser, for nginx to proxy_pass to localhost:9443.
This is just for the web service. My ssh/telnet/rlogin stuff
is all default. I want to move the web service off ports 80/443
and make it so the user/internet doesn't notice. I have a couple
other "things" running and nginx seems to be handling them fine.
I just need to figure out sbbs.
The other "stuff" I have working is 2 Foundry VTT instances (foundry.shodanscore.com and w-foundry.shodanscore.com) and a
Jitsi Server (voice.shodanscore.com).
I can provide the site config files upon request. I don't pop
onto Dovenet too often these days, so forgive me if I don't
respond right away.
I'm using caddy for my reverse-proxy, so that didn't work so well... may switch to nginx, but caddy seems to run lighter.
After fiddling with a number of reverse-proxy options, I ended up
using sniproxy.
github.com/dlundquist/sniproxy
It has a really simple configuration format, handles port redirection
(i.e. connection to host.com:80 redirected to otherhost.com:90909),
and seems to handle websockets as well, but I haven't tested that in
depth. In my use-case, I have it running on Ubuntu in yet another VM
on my network, and it seems to be extremely light-weight.
Sysop: | Rempala |
---|---|
Location: | Richlands, NC |
Users: | 106 |
Nodes: | 10 (0 / 10) |
Uptime: | 39:39:01 |
Calls: | 205 |
Files: | 6 |
Messages: | 111,121 |