Hello! I have a problem: When I surf my site through http everything is OK, but when I start using it through https, it throws and error: Failed https://188.226.131.219:8080/socket.io/?EIO=3&transport=polling&t=LmsQ1PW to load resource: net::ERR_CONNECTION_CLOSED. I need to transport some cookie files so it will work and I want to do it with https. Best regards, Daniel.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You need a domain to activate https.
You can follow this tutorial (even though it’s for Ubuntu) for setting up Nginx as a reverse proxy to Node.js: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04#set-up-nginx-as-a-reverse-proxy-server
And then follow this tutorial to setup Let’s Encrypt to enable https in Nginx: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
I have a domain, dunno why its showing ip instead of my domain. Will give it a try, thx:)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.