Closed Dan904 closed 8 years ago
map $scheme $fastcgi_https { Detect when HTTPS is used.
default off;
https on;
}
return 301 http://$host$request_uri;
ssl_certificate "/etc/letsencrypt/live/www.plutopro.xyz/fullchain.pem";
ssl_certificate_key "/etc/letsencrypt/live/www.plutopro.xyz/privkey.pem";
ssl_ciphers (the first one -- there's two right now)
Make a second nginx.conf for non-ssl websites. Easy to switch to the other.