summaryrefslogtreecommitdiff
path: root/debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf')
-rw-r--r--debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf b/debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf
new file mode 100644
index 00000000..3cfbf9ed
--- /dev/null
+++ b/debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf
@@ -0,0 +1,4 @@
+<Location "/taler-exchange/">
+ProxyPass "unix:/var/lib/taler-exchange/exchange.sock|http://example.com/"
+RequestHeader add "X-Forwarded-Proto" "https"
+</Location>