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.

By nicholasfc
I need some help with my nginx config so all my http traffic goes to https and also www changes to non-www. My server is running ubuntu 14.04 and nginx. Also my site has cloudflare activated. My goal is that everyone goes to this url https://nicholaschedid.com because my cert if for nicholaschedid.com
here is my sites-available .conf file
server {
server_name nicholaschedid.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name nicholaschedid.com;
ssl on;
ssl_certificate /etc/nginx/ssl/bundle.crt;
ssl_certificate_key /home/worker/nicholaschedid.com.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers AES256+EECDH:AES256+EDH:!aNULL;
root /var/www/nicholaschedid.com/html/_site;
index index.php index.html index.htm;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
[. . .]
So far
I tried so many different configuration but none worked, from both google and here.