debian: fix sample http configs
This commit is contained in:
parent
abacd05742
commit
a865217ea0
@ -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>
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user