[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: remove legacy bac
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: remove legacy backend also for donations |
Date: |
Fri, 05 Jan 2018 16:58:40 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 67e1436 remove legacy backend also for donations
67e1436 is described below
commit 67e1436a443a73861f04ee806e67a64dff60316e
Author: Florian Dold <address@hidden>
AuthorDate: Fri Jan 5 16:58:38 2018 +0100
remove legacy backend also for donations
---
etc/nginx/sites-enabled/test.site | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/etc/nginx/sites-enabled/test.site
b/etc/nginx/sites-enabled/test.site
index 28c9a5d..f44fcfb 100644
--- a/etc/nginx/sites-enabled/test.site
+++ b/etc/nginx/sites-enabled/test.site
@@ -237,21 +237,6 @@ server {
include /etc/nginx/uwsgi_params;
}
- location @blue-backend {
- add_header X-Taler-Deployment-Color blue;
- rewrite /backend/(.*) /$1 break;
- proxy_pass http://unix:/home/test-blue/sockets/merchant.http;
- proxy_redirect off;
- proxy_set_header Host $host;
- }
- location @green-backend {
- add_header X-Taler-Deployment-Color green;
- rewrite /backend/(.*) /$1 break;
- proxy_pass http://unix:/home/test-green/sockets/merchant.http;
- proxy_redirect off;
- proxy_set_header Host $host;
- }
-
location / {
# Redirection technique explainted at
# https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
@@ -264,19 +249,6 @@ server {
include /etc/nginx/uwsgi_params;
}
- location /backend {
- # Redirection technique explainted at
- # https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
- error_page 418 = @blue-backend;
- error_page 419 = @green-backend;
- recursive_error_pages on;
- if ($http_x_taler_deployment_color ~ "blue") { return 418; }
- if ($http_x_taler_deployment_color ~ "green") { return 419; }
- rewrite /backend/(.*) /$1 break;
- proxy_pass http://unix:/home/test/sockets/merchant.http:/;
- proxy_redirect off;
- proxy_set_header Host $host;
- }
include conf.d/favicon_robots;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: remove legacy backend also for donations,
gnunet <=