[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] 02/02: nginx
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] 02/02: nginx |
Date: |
Thu, 09 Mar 2017 22:08:02 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository deployment.
commit 2bd4500a1b182c052b34045f86737af4f503ccbe
Author: Florian Dold <address@hidden>
AuthorDate: Thu Mar 9 22:07:57 2017 +0100
nginx
---
etc/nginx/sites-enabled/test.site | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/etc/nginx/sites-enabled/test.site
b/etc/nginx/sites-enabled/test.site
index 597f316..75657ad 100644
--- a/etc/nginx/sites-enabled/test.site
+++ b/etc/nginx/sites-enabled/test.site
@@ -19,17 +19,19 @@ server {
include conf.d/test.redirects;
include conf.d/talerssl;
if ($http_x_taler_deployment_color ~ "green|blue") {
- rewrite .* @$http_x_taler_deployment_color;
+ 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;
include /etc/nginx/uwsgi_params;
}
location @blue {
+ add_header X-Taler-Deployment-Color green;
uwsgi_pass unix:/home/test-blue/sockets/landing.uwsgi;
include /etc/nginx/uwsgi_params;
}
--
To stop receiving notification emails like this one, please contact
address@hidden