0

I have a Heroku app which is on a free plan like myappsucks.herokuapp.com but recently that website is showing a not secure warning when I open it on my browser. Can anyone help me out how can I fix this at free of cost coz I heard Heroku is a free platform where u can deploy your Nodejs app.

Any answer is appreciated =)

1
  • Hi, Welcome to Stackoverflow. Kindly add a screesnhot of the issue you are facing or in case of Heroku, you can paste the log as well which you can find under ACTIVITY tab of your Heroku applications Jun 7, 2021 at 7:08

1 Answer 1

0

Heroku free apps do not use SSL. You will need to change to a paid plan to get it.

However, as a workaround, if you want to see "secure" in the browser, you can use free cloudflare account, using cloudflare as a dns proxy. Cloudflare will use HTTPS (secure) when your site is proxied through them, and can use HTTP when it retrieves your site.

It is not secure at all between cloudflare and heroku, but is an easy workaround for demo apps etc.

Here is what the SSL setting should look like:

enter image description here

and the DNS record:

enter image description here

3
  • thanks for the answer and also i am really sorry to respond after a long time. Just wanted to ask, can i get a free domain like how would we get in heroku(like myappsucks.herokuapp.com)? Oct 4, 2021 at 4:27
  • on cloudflare? I don't think so... there are lots of places to get cheap domains. Oct 4, 2021 at 10:03
  • oh ok, thanks for the help btw =D Oct 4, 2021 at 10:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.