Update by ialbert on Fri Nov  3 19:32:23 DST 2017 from beep
-upstream main_app {
+upstream recipe_app {
server 127.0.0.1:3333;
}
-# At this point redirect to recipes.
-server {
- return 301 https://bioinformatics.recipes$request_uri;
-}
-
-
-# Main server configuration.
+# Server configuration.
server {
listen 80;
listen [::]:80;
@@ -34,14 +28,5 @@ server {
break;
}
- location /abcde/ {
- include uwsgi_params;
- uwsgi_pass main_app;
- uwsgi_param Host $host;
- uwsgi_param X-Real-IP $remote_addr;
- uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for;
- uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
- }
-
}
