diff options
author | Florian Dold <florian@dold.me> | 2021-07-30 13:22:45 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-30 13:22:54 +0200 |
commit | 05bc00b5f226e6e6695ef00609a02549284c8f55 (patch) | |
tree | 7ca6ca6faeefc25e5eb932f96b15b806ba4ca742 /debian/etc-taler-exchange/nginx | |
parent | bd603ca7c14315d333e2dac0509f6b1226fb946e (diff) |
debian: better config split by package
Diffstat (limited to 'debian/etc-taler-exchange/nginx')
-rw-r--r-- | debian/etc-taler-exchange/nginx/sites-available/taler-exchange | 7 |
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"; +} |