# SSL discourse site is not working

**URL:** https://meta.discourse.org/t/ssl-discourse-site-is-not-working/165480
**Category:** Self-hosting
**Created:** [September 26, 2020, 9:00pm UTC](https://meta.discourse.org/t/ssl-discourse-site-is-not-working/165480 "2020-09-26T21:00:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Coolwo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coolwo/32/156987_2.png) [@Coolwo](https://meta.discourse.org/u/Coolwo)
#### Post date: [September 26, 2020, 9:00pm UTC](https://meta.discourse.org/t/ssl-discourse-site-is-not-working/165480/1 "2020-09-26T21:00:31Z")

</div>

I have installed discourse with docker by changing the default port 80 and 443

Using proxy redirect I have forwarded both http and HTTPS and my http version is working fine but https shows (site can’t be reached refused to connect) I have even tried visiting https site by putting the port but still got same result.

How to fix my https site??? I’m using apache 2 + ubuntu 20.4

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [September 26, 2020, 9:59pm UTC](https://meta.discourse.org/t/ssl-discourse-site-is-not-working/165480/2 "2020-09-26T21:59:14Z")

</div>

Are you running other sites on the same server?

Did you already consult this topic?

> [@Set up Discourse on a server with existing Apache sites](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013):
>
> It’s not as daunting as it sounds! While this may sound a bit intimidating at first, it’s really not all that bad. You basically need to do two things: Install HAProxy (or an alternative) which will take over port 80 and then divert your Discourse traffic to your docker container, and all your other sites to your usual Apache set-up. Let Apache know which port to listen for. While this is only a rough guide, it should do a good job of pointing you in the right direction. Let’s get star…
