[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: fix forwarded-hos
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: fix forwarded-host |
Date: |
Sun, 07 Jan 2018 18:06:23 +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 ca4dc82 fix forwarded-host
ca4dc82 is described below
commit ca4dc82767029ad1f47752ce54bcc4b4f6030c37
Author: Florian Dold <address@hidden>
AuthorDate: Sun Jan 7 18:06:18 2018 +0100
fix forwarded-host
---
etc/nginx/sites-enabled/test.site | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/etc/nginx/sites-enabled/test.site
b/etc/nginx/sites-enabled/test.site
index f44fcfb..4d5edce 100644
--- a/etc/nginx/sites-enabled/test.site
+++ b/etc/nginx/sites-enabled/test.site
@@ -177,7 +177,7 @@ server {
proxy_pass http://unix:/home/test-blue/sockets/merchant.http;
proxy_redirect off;
proxy_set_header Host $host;
- proxy_set_header X-Forwarded-Host $proxy_host;
+ proxy_set_header X-Forwarded-Host "backend.test.taler.net";
proxy_set_header X-Forwarded-Proto "https";
}
location @green {
@@ -185,7 +185,7 @@ server {
proxy_pass http://unix:/home/test-green/sockets/merchant.http;
proxy_redirect off;
proxy_set_header Host $host;
- proxy_set_header X-Forwarded-Host $proxy_host;
+ proxy_set_header X-Forwarded-Host "backend.test.taler.net";
proxy_set_header X-Forwarded-Proto "https";
}
@@ -197,7 +197,7 @@ server {
recursive_error_pages on;
if ($http_x_taler_deployment_color ~ "blue") { return 418; }
if ($http_x_taler_deployment_color ~ "green") { return 419; }
- proxy_set_header X-Forwarded-Host $proxy_host;
+ proxy_set_header X-Forwarded-Host "backend.test.taler.net";
proxy_set_header X-Forwarded-Proto "https";
proxy_pass http://unix:/home/test/sockets/merchant.http:/;
proxy_redirect off;
--
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: fix forwarded-host,
gnunet <=