server { listen 80; listen [::]:80; #server_name example.com 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"; } }