summaryrefslogtreecommitdiff
path: root/debian/etc-taler-auditor/nginx/sites-available/taler-auditor
blob: f74035d53d1638d5f422a82268e4e631ab0937f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server {

  listen 80;
  listen [::]:80;

  server_name localhost;

  access_log /var/log/nginx/auditor.log;
  error_log /var/log/nginx/auditor.err;

  location /taler-auditor/ {
    proxy_pass http://unix:/var/lib/taler-auditor/auditor.sock;
    proxy_redirect off;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Host "localhost";
    #proxy_set_header X-Forwarded-Proto "https";
  }
}