2023-03-04 23:04:27 +01:00
|
|
|
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";
|
|
|
|
}
|
2021-01-01 20:43:59 +01:00
|
|
|
}
|