[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: improve nginx configuration consistency
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: improve nginx configuration consistency |
Date: |
Sat, 04 Mar 2023 23:10:50 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 442002282dd0aabc49f1a53d3d5c48ea992f0ad9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Mar 4 23:04:27 2023 +0100
improve nginx configuration consistency
---
.../nginx/sites-available/taler-auditor | 23 ++++++++++++++++------
.../nginx/sites-available/taler-exchange | 3 +++
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/debian/etc-taler-auditor/nginx/sites-available/taler-auditor
b/debian/etc-taler-auditor/nginx/sites-available/taler-auditor
index 3fdffdad..f74035d5 100644
--- a/debian/etc-taler-auditor/nginx/sites-available/taler-auditor
+++ b/debian/etc-taler-auditor/nginx/sites-available/taler-auditor
@@ -1,7 +1,18 @@
-location /taler-auditor/ {
- proxy_pass http://unix:/var/lib/taler-auditor/auditor.sock;
- proxy_redirect off;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-Host "example.com";
- proxy_set_header X-Forwarded-Proto "https";
+server {
+
+ listen 80;
+ listen [::]:80;
+
+ server_name localhost;
+
+ access_log /var/log/nginx/auditor.log;
+ error_log /var/log/nginx/auditor.err;
+
+ location /taler-auditor/ {
+ proxy_pass http://unix:/var/lib/taler-auditor/auditor.sock;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Host "localhost";
+ #proxy_set_header X-Forwarded-Proto "https";
+ }
}
\ No newline at end of file
diff --git a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
index 5a501441..9b61a32d 100644
--- a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
+++ b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
@@ -4,6 +4,9 @@ server {
server_name localhost;
+ access_log /var/log/nginx/exchange.log;
+ error_log /var/log/nginx/exchange.err;
+
location /taler-exchange/ {
proxy_pass http://unix:/run/taler/exchange-httpd/exchange-http.sock:/;
proxy_redirect off;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.