aboutsummaryrefslogtreecommitdiff
path: root/debian/etc-taler-auditor/nginx/sites-available
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-03-04 23:04:27 +0100
committerChristian Grothoff <christian@grothoff.org>2023-03-04 23:04:27 +0100
commit442002282dd0aabc49f1a53d3d5c48ea992f0ad9 (patch)
tree5f79b95e43e6648abc5e1b84be1577e5bba12e4d /debian/etc-taler-auditor/nginx/sites-available
parentb10d990afd216774207a43f3c6c413192bd87f5e (diff)
improve nginx configuration consistency
Diffstat (limited to 'debian/etc-taler-auditor/nginx/sites-available')
-rw-r--r--debian/etc-taler-auditor/nginx/sites-available/taler-auditor23
1 files changed, 17 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 3fdffdad3..f74035d53 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