aboutsummaryrefslogtreecommitdiff
path: root/debian/conf/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/conf/nginx.conf')
-rw-r--r--debian/conf/nginx.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/conf/nginx.conf b/debian/conf/nginx.conf
new file mode 100644
index 000000000..2921c9998
--- /dev/null
+++ b/debian/conf/nginx.conf
@@ -0,0 +1,7 @@
+location /taler-exchange/ {
+ proxy_pass http://unix:/var/lib/taler-exchange/exchange.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