Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
Awesome, this guideline help me to setup cloudflare ssl on origin server. Thanks
Is it necessary to use ssl-dhparams.pem with this technic?
Thanks for this nice tuto!
Hello Brian,
It will be better to use:
service nginx reload
instead
sudo systemctl restart nginx
It’s will renew configuration without restarting NGINX service.
Near the end of step 2, after I modify the file and test the nginx configuration file with sudo nginx -t, I get an errror code:
nginx: [emerg] PEM _ read _ bio _ X509 _ AUX(“/etc/ssl/certs/cert.pem”) failed (SSL: error:0906D066:PEM routines:PEM _ read _ bio:bad end line) nginx: configuration file /etc/nginx/nginx.conf test failed
The pem file includes the BEGIN and END tags at the top and bottom with 5 hyphens on either side so I cannot tell what is wrong.
I would greatly appreciate any help
I have set up step 3 exactly as directed in instructions and am still recieving the 400 Bad request page. I have even downloaded the certificate directly from Cloudflare and used it. Has anyone else had any troubles with this step, and maybe has a solution? I would appreciate any help, thanks!
Hey Brian,
I followed this guide on Ubuntu 18.04 and as long as I type www.mydomainname.com into the browser, everything works fine. But when I just type in “mydomainname.com” or “https://mydomainname.com” I get the error “Your connection is not private” - NET::ERR_CERT_AUTHORITY_INVALID
Can you help solve this?
Cheers, Jesse
Hi there.
Thanks for the awesome guide :)
I’ve followed all the steps, but I cannot get the https connection to resolve :/ I am having the same issue that Jesse reported, but after 4 hours it hasn’t resolved.
nginx isn’t throwing any errors and everything appears to be fine, but when I try to access the https link I am told the connection is unsafe NET::ERR_CERT_AUTHORITY_INVALID etc.
Any ideas would be great.
Thanks!
I’m curious to know if this will work while using a load balancer with SSL Passthrough. I don’t see any reason why it wouldn’t but still learning how these work (haven’t had a need for it until now).
This comment has been deleted