Self-hosted server works on http port 3000 but show nothing on https behind Nginx

Description

My self-hosted rocket chat server seems to work fine on http://chat.nanalike.com:3000
But when try to access https://chat.nanalike.com the page shows nothing without any wrong information.

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu 20.04
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.14.0
  • MongoDB Version: db version v4.0.19
  • Proxy: nginx
  • Firewalls involved:

Any additional Information

Hello
You need to setup https vhost in your nginx proxy server with location and proxy_pass.
Then you can setup certbot for take correct ssl certs.
keywords for google: nginx vhost ssl proxy_pass certbot
sorry for my english

1 Like