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

**URL:** <https://forums.rocket.chat/t/self-hosted-server-works-on-http-port-3000-but-show-nothing-on-https-behind-nginx/7315>\
**Category:** Community Support\
**Created:** [June 15, 2020, 8:30pm UTC](https://forums.rocket.chat/t/self-hosted-server-works-on-http-port-3000-but-show-nothing-on-https-behind-nginx/7315 "2020-06-15T20:30:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauricelsy](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mauricelsy](https://forums.rocket.chat/u/mauricelsy)\
**Post date:** [June 15, 2020, 8:30pm UTC](https://forums.rocket.chat/t/self-hosted-server-works-on-http-port-3000-but-show-nothing-on-https-behind-nginx/7315/1 "2020-06-15T20:30:40Z")

</div>

### Description

My self-hosted rocket chat server seems to work fine on [http://chat.nanalike.com:3000](http://chat.nanalike.com:3000)  
But when try to access [https://chat.nanalike.com](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

---

<div class="post-metadata">

**Author:** ![tanatonaut](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@tanatonaut](https://forums.rocket.chat/u/tanatonaut)\
**Post date:** [December 29, 2021, 10:16am UTC](https://forums.rocket.chat/t/self-hosted-server-works-on-http-port-3000-but-show-nothing-on-https-behind-nginx/7315/2 "2021-12-29T10:16:21Z")

</div>

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
