Update by ialbert on Tue Dec 12 14:38:34 EST 2017 from yolo.local
@@ -22,11 +22,7 @@ server {
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
-
- # Redirect non-https traffic to https
- if ($scheme != "https") {
- return 301 https://$host$request_uri;
- } # managed by Certbot
+ return 301 https://www.$host$request_uri;
}
