Add a proxy to hit gateway.rocket.chat

UFOs, lost socks, discuss whatever you like here.

Moderators: Master_Kale, TNM Team

Post Reply
Jess55
NSF
Posts: 53
Joined: Mon Nov 21, 2022 8:53 am

Add a proxy to hit gateway.rocket.chat

Post by Jess55 »

Hi everyone,
I would like to know how my rocketchat server can pass trough proxy to hit the gateway for push notification ?
Because this domain have a ip dynamic range, today it’s only possible to have notification by create a firewall rule to hit a 443 port. It is not really a good practice.
RasySumka
Thug
Posts: 20
Joined: Fri Nov 25, 2022 11:33 am

Re: Add a proxy to hit gateway.rocket.chat

Post by RasySumka »

Creating a firewall rule to hit port 443 isn't a good practice, but it's quick.
AlexTinny
Thug
Posts: 18
Joined: Fri Nov 25, 2022 1:38 pm

Re: Add a proxy to hit gateway.rocket.chat

Post by AlexTinny »

And I'm trying to set up NGINX as a reverse proxy to use the RocketChat service, but the service isn't loading in the right place. The inbound port is 2357, where the service (RocketChat) is running, and the outbound port it should be running on is port 3000. Then I figured out if NGINX is running on the host machine as a Linux service (and not as part of the docker-compose file ). I need to edit the last line of the NGINX configuration so that the location points to localhost:2357. I need to enter something like proxy_pass http://localhost:2357. It might come in handy, I used shiftproxy.io.
Post Reply