How to setup IRC server with NPM? reddit / irc ---------------------------------------------------------------------- Particular-Lunch4142 · 2023-03-18 22:10 Noob here. I have successfully setup my IRC server, I can connect it from my local network. I have setup a subdomain DNS entry ([irc.mydomain.com](https://irc.mydomain.com/)) through Cloudflare (proxied), but how do I setup the reverse proxy through Nginx Proxy Manager? It only has HTTP and HTTPS option? Any kind souls can walk me through the process? I'm lost. Is it even possible? Additional info: \- I can't do port forwarding for 6667, as it's against my ISP's terms and conditions. Only 80 and 443 allowed. \- Prefer the non-VPS/cloud provider route, if possible Thank you in advance! ---------------------------------------------------------------------- AnotherOneToo3 · 2023-03-18 22:19 Ports don’t matter much you can host it on any. Also: https://stackoverflow.com/questions/5337122/is-it-possible-to-forward- non-http-connecting-request-to-some-other-port-in-ngin#35521557 ---------------------------------------------------------------------- Particular-Lunch4142 · 2023-03-19 07:06 So from this example, I should enter the details under Streams category as well? Or should it be under Advanced configuration tab on Proxy hosts? Can I trouble u to show me an example of your configurations for irc on npm, if you don’t mind? ---------------------------------------------------------------------- AnotherOneToo3 · 2023-03-19 14:19 I’ve never used a nginx ui, I edit its files. I’ve never used a nodejs irc server, I’ve used the many more popular ones. ---------------------------------------------------------------------- ProgVal · 2023-03-19 16:36 This is a pretty unusual setup. Are you sure you want to use nginx here? You can make your IRC server listen directly on ports 80 and 443 without involving a reverse proxy like nginx. ---------------------------------------------------------------------- Particular-Lunch4142 · 2023-03-19 16:44 I’m using portainer to install inpiricd, so I used the default port 6667, cos my ports 443 and 80 are taken. Thus why I used NPM to direct the traffic to port 6667. ---------------------------------------------------------------------- ProgVal · 2023-03-19 16:50 Reverse proxies generally cannot serve both HTTP and non-HTTP on the same IP address. In order to serve multiple websites on the same IP address they use what we call "virtual hosts", and they pick the right virtual host based on `Host` HTTP header. But IRC isn't based on HTTP, so it doesn't have this `Host` header. However, there is a hacky tool that should fit your use case, you could try that: https://www.rutschle.net/tech/sslh/README.html