gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated (812a7df -> 2bd450


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated (812a7df -> 2bd4500)
Date: Thu, 09 Mar 2017 22:08:00 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch master
in repository deployment.

    from 812a7df  Limiting chromium worker memory to 2GB.
     new 21002a7  test color header
     new 2bd4500  nginx

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 etc/nginx/sites-enabled/test.site | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/etc/nginx/sites-enabled/test.site 
b/etc/nginx/sites-enabled/test.site
index 62452ab..75657ad 100644
--- a/etc/nginx/sites-enabled/test.site
+++ b/etc/nginx/sites-enabled/test.site
@@ -9,6 +9,7 @@ server {
 }
 
 
+
 server {
   listen 443 ssl;
   listen [::]:443 ssl;
@@ -17,13 +18,23 @@ server {
   rewrite /javascript /javascript.html break;
   include conf.d/test.redirects;
   include conf.d/talerssl;
+  if ($http_x_taler_deployment_color ~ "green|blue") {
+    rewrite .* @$http_x_taler_deployment_color last;
+  }
   location / {
-    # SSI is okay here, since we only serve static content
-    # from landing
-    ssi on;
     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;
+  }
   include conf.d/favicon_robots;
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]