aboutsummaryrefslogtreecommitdiff
path: root/debian/etc-taler-exchange/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'debian/etc-taler-exchange/nginx')
-rw-r--r--debian/etc-taler-exchange/nginx/sites-available/taler-exchange7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
new file mode 100644
index 000000000..6737d9129
--- /dev/null
+++ b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
@@ -0,0 +1,7 @@
+location /taler-exchange/ {
+ proxy_pass http://unix:/run/taler/exchange/exchange-http.sock;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Host "example.com";
+ proxy_set_header X-Forwarded-Proto "https";
+}