Update by ialbert on Tue Nov  7 10:57:25 EST 2017 from yolo.local
@@ -48,5 +48,17 @@ server {
uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
}
+ listen 443 ssl; # managed by Certbot
+ ssl_certificate /etc/letsencrypt/live/psu.bioinformatics.recipes/fullchain.pem; # managed by Certbot
+ ssl_certificate_key /etc/letsencrypt/live/psu.bioinformatics.recipes/privkey.pem; # managed by Certbot
+ include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
+ ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
+
+
+ if ($scheme != "https") {
+ return 301 https://$host$request_uri;
+ } # managed by Certbot
+
+
}
