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!
Brower warn me that the connection is untrusted. let me know what did I miss!
@dewsworld: This article walks you through creating a self-signed certificate (Step Four— Sign your SSL Certificate). If you want to get rid of that warning, you will have to purchase an SSL cert from a trusted provider such as Comodo/DigiCert/Verisign to name a few or any of their resellers. You will have to provide them the CSR which you can get by running <pre>cat /path/to/server.csr</pre>
After installing ssl, I added these lines to my ssl.conf file: it’s running perfectly. Did I mis-configure anything?
location / {
root /home/username/public_html;
index index.html index.htm index.php;
}
location ~ \.php$ {
root /home/username/public_html;
fastcgi_param HTTPS on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
@md.imtiazmahbub: The config seems proper, are you having any issues with it?
Hi I want to install a certificate signed by commodo using nginx for CentOS 6. They sent me a zip with the installation files. What should I do with them? Best Regards Yury Llorca D
This tutorial may work for self-signed certificates, but I’d recommend using the suggested openssl parameters to create a key for a site where security is important to you.
sudo openssl genrsa -des3 -out server.key 1024
Most Certificate Authorities will no longer accept 1024-bit keys (2048 being the minimum), and RSA keys are the default format over des3. There is no need to run openssl as root unless you’re trying to protect your key by having its owner be set to root.
For further info, see http://security.stackexchange.com/questions/2557/what-ssl-key-should-i-make-for-iis-rsa-or-dh-what-bit-length-is-appropriate
Hi guys,
What’s the way to enable HTTPS only for the administration panel?
@ Tiago,
In your server block that is listening on port 80 for normal http, set a redirect for your panel’s url to the https url:
server {
listen 80;
# snipping every thing else just for the example
location /panel_url {
return 301 https://$server_name$request_uri;
}
}
Then in the server block listening on port 443, redirect https attempts back to http unless it is your panel’s url.
server {
listen 443;
# snipping every thing else just for the example
location /panel_url {
}
location / {
return 301 http://$server_name$request_uri;
}
}
I’ve got the nginx running, but the signature doesn’t show up… What may be causing this?