diff options
author | Florian Dold <florian@dold.me> | 2021-08-04 19:00:32 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-04 19:00:32 +0200 |
commit | a865217ea0ffebc1fae85990db2ef9e46b846c7d (patch) | |
tree | 1fcaee14b5f4ef032749c4e52aee55e770690527 /debian/etc-taler-exchange | |
parent | abacd05742466d67e80089e0f8ed1082b7ec4a33 (diff) |
debian: fix sample http configs
Diffstat (limited to 'debian/etc-taler-exchange')
-rw-r--r-- | debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf | 2 | ||||
-rw-r--r-- | debian/etc-taler-exchange/nginx/sites-available/taler-exchange | 2 |
2 files changed, 2 insertions, 2 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 index 3cfbf9edb..3ec14feb2 100644 --- a/debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf +++ b/debian/etc-taler-exchange/apache2/sites-available/taler-exchange.conf @@ -1,4 +1,4 @@ <Location "/taler-exchange/"> -ProxyPass "unix:/var/lib/taler-exchange/exchange.sock|http://example.com/" +ProxyPass "unix:/run/taler/exchange-httpd/exchange-http.sock|http://example.com/" RequestHeader add "X-Forwarded-Proto" "https" </Location> diff --git a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange index 8e7dcbb2e..c5599a6c5 100644 --- a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange +++ b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange @@ -5,7 +5,7 @@ server { #server_name example.com location /taler-exchange/ { - proxy_pass http://unix:/run/taler/exchange/exchange-http.sock; + proxy_pass http://unix:/run/taler/exchange-httpd/exchange-http.sock; proxy_redirect off; proxy_set_header Host $host; #proxy_set_header X-Forwarded-Host "example.com"; |