aboutsummaryrefslogtreecommitdiff
path: root/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
blob: 13ab88633ba551e9ca206810fb0e869d673cb7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
server {
  listen 80;
  listen [::]:80;

  #server_name example.com;

  location /taler-exchange/ {
     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";
     #proxy_set_header X-Forwarded-Proto "https";
  }
}