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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
If you are using CloudFlare HTTPS
server {
...
if ($**http_x_forwarded_proto** = "http") {
return 301 https://$server_name$request_uri;
}
...
}
Peace!
hello, more one question about redirect
when put ip address for example http://ipofsitewithssl rediret to https://mysite but whe try access https://the ip address not redirect and load the site
this is my config
server { listen 80; server_name mydomain.com.br www.mydomain.com.br; return 301 https://www.mydomaincom.br$request_uri; }
server { listen 80; server_name my ip xx.xx.xx.xx; return 301 https://www.mydomain.com.br$request_uri; }
server { listen 443; server_name www.mydomain.com.br; ssl on; ssl_certificate /var/www/mydomain.com.br/cert/www_selfbox_com_br.crt; ssl_certificate_key /var/www/mydomain.com.br/cert/www_selfbox_com_br.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
This comment has been deleted