Hey, I’m looking for help setting up an HTTPS connection from Cloudflare to vps on which I have wiki.js. I use the pre-installed wiki.js from Digitalocean so I don’t know where the configuration is.
How? I have problem with cloudflare, when i use dns cloudflare i see error: Error 521 :( - server no respond, but when i ping in, no problem.
Please help…
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!
Hello,
What you could do in order to fix the 521 error is to change your SSL type to Flexible SSL via your Cloudflare control panel. That way you would not have to install an SSL on your Droplet and your site would still be accessible via HTTPS.
As far as I can see according to the official wiki.js documentation, they are suggesting the approach that I’ve described above and also that they are working on a native Let’s Encrypt integration that is supposed to be coming out soon, for more information you could check the documentation here:
https://docs.requarks.io/en/install/digitalocean
Another thing that you could do is to install Nginx and set it up as a reverse proxy, that way you could install an SSL on your Droplet as well. Here’s a tutorial on how to Deploy Docker container with Nginx:
IT is specifically for Go application, but you could follow the Nginx Reverse Proxy with Let’s Encrypt steps and it should work for any Dockerized application.
Hope that this helps! Regards, Bobby
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.