debian: fix sample http configs

This commit is contained in:
Florian Dold 2021-08-04 19:00:32 +02:00
parent abacd05742
commit a865217ea0
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<Location "/taler-exchange/"> <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" RequestHeader add "X-Forwarded-Proto" "https"
</Location> </Location>

View File

@ -5,7 +5,7 @@ server {
#server_name example.com #server_name example.com
location /taler-exchange/ { 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_redirect off;
proxy_set_header Host $host; proxy_set_header Host $host;
#proxy_set_header X-Forwarded-Host "example.com"; #proxy_set_header X-Forwarded-Host "example.com";