aboutsummaryrefslogtreecommitdiff
path: root/debian/auditor-conf/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/auditor-conf/nginx.conf')
-rw-r--r--debian/auditor-conf/nginx.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/auditor-conf/nginx.conf b/debian/auditor-conf/nginx.conf
new file mode 100644
index 000000000..3fdffdad3
--- /dev/null
+++ b/debian/auditor-conf/nginx.conf
@@ -0,0 +1,7 @@
+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";
+} \ No newline at end of file