I install Rocket.Chat with manual installation on Ubuntu following this tutorial. https://rocket.chat/docs/installation/manual-installation/ubuntu/
I am using nginx as the reverse proxy. The service is running, but there is no port 3000 opened at the network. I check it with
The nginx configuration copied from rocket.chat/docs/installation/manual-installation/configuring-ssl-reverse-proxy/ with some modification.
When i open the browser, the nginx response Bad Gateway.
Is there any configurations that I missed ?
Server Setup Information
- Version of Rocket.Chat Server: 2.4.0
- Operating System: Ubuntu
- Deployment Method: Tar
- Number of Running Instances: 1
- DB Replicaset Oplog: none
- NodeJS Version: v8.17.0
- MongoDB Version: v4.0.14
- Proxy: nginx
- Firewalls involved: none
Any additional Information
rocketchat nginx access log
2019/12/31 03:00:12 [error] 31520#31520: *22 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: domain.ltd, request: “GET /serviceworker.js HTTP/1.1”, upstream: “http://127.0.0.1:3000/serviceworker.js”, host: “domain.ltd”