Update by ialbert on Fri Nov  3 19:28:04 DST 2017 from beep
upstream main_app {
- server 127.0.0.1:3033;
+ server 127.0.0.1:3333;
}
-# Default server configuration.
+# At this point redirect to recipes.
server {
return 301 https://www.bioinformatics.recipes$request_uri;
}
@@ -43,19 +43,16 @@ server {
uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
}
+
listen 443 ssl; # managed by Certbot
- ssl_certificate /etc/letsencrypt/live/metabarcode.com/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/metabarcode.com/privkey.pem; # managed by Certbot
+ ssl_certificate /etc/letsencrypt/live/bioinformatics.recipes/fullchain.pem; # managed by Certbot
+ ssl_certificate_key /etc/letsencrypt/live/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
- # Redirect non-https traffic to https
- # if ($scheme != "https") {
- # return 301 https://$host$request_uri;
- # } # managed by Certbot
-
}
