commit c82abcc1a44c0b6decedab2c9b2463f3428c0906
parent 2bd4500a1b182c052b34045f86737af4f503ccbe
Author: Florian Dold <florian.dold@gmail.com>
Date: Thu, 9 Mar 2017 22:10:27 +0100
nginx
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site
@@ -21,10 +21,6 @@ server {
if ($http_x_taler_deployment_color ~ "green|blue") {
rewrite .* @$http_x_taler_deployment_color last;
}
- location / {
- uwsgi_pass unix:/home/test/sockets/landing.uwsgi;
- include /etc/nginx/uwsgi_params;
- }
location @green {
add_header X-Taler-Deployment-Color green;
uwsgi_pass unix:/home/test-green/sockets/landing.uwsgi;
@@ -35,6 +31,10 @@ server {
uwsgi_pass unix:/home/test-blue/sockets/landing.uwsgi;
include /etc/nginx/uwsgi_params;
}
+ location / {
+ uwsgi_pass unix:/home/test/sockets/landing.uwsgi;
+ include /etc/nginx/uwsgi_params;
+ }
include conf.d/favicon_robots;
}