HTTPS refused to connect at a direct IP address

(Cheng Trang) #1

Today, i created 2 VPS on DigitalOcean.
I using for install Discourse.
But it only working with http
When i setup https for Discourse then refused to connect error.
I try on two VPS both are faulty.
I had use the Discourse One-Click Application but only working http and error when setup https.

I have done this many times, it is ok on VPS at
But DigitalOcean is faulty.
Cant you help me!

  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
  - "templates/web.ssl.template.yml"
  - "templates/web.letsencrypt.ssl.template.yml"

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see for details
  - "80:80"   # http
  - "443:443" # https

(Vinoth Kannan) #2

Letsencrypt SSL certificates can’t be delivered to an IP address. You must use a domain name. Also installing Discourse in an IP address is not recommended.

(Cheng Trang) #3

Oh my god! Thanks so much!
i will use domain <3

(Joshua Rosenfeld) #4

This topic was automatically closed after 31 hours. New replies are no longer allowed.