diff options
Diffstat (limited to 'debian/etc-taler-auditor')
-rw-r--r-- | debian/etc-taler-auditor/nginx/sites-available/taler-auditor | 23 | ||||
-rw-r--r-- | debian/etc-taler-auditor/taler/secrets/auditor-db.secret.conf | 2 |
2 files changed, 18 insertions, 7 deletions
diff --git a/debian/etc-taler-auditor/nginx/sites-available/taler-auditor b/debian/etc-taler-auditor/nginx/sites-available/taler-auditor index 3fdffdad3..f74035d53 100644 --- a/debian/etc-taler-auditor/nginx/sites-available/taler-auditor +++ b/debian/etc-taler-auditor/nginx/sites-available/taler-auditor @@ -1,7 +1,18 @@ -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 "example.com"; - proxy_set_header X-Forwarded-Proto "https"; +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"; + } }
\ No newline at end of file diff --git a/debian/etc-taler-auditor/taler/secrets/auditor-db.secret.conf b/debian/etc-taler-auditor/taler/secrets/auditor-db.secret.conf index b81bb817f..1278a563b 100644 --- a/debian/etc-taler-auditor/taler/secrets/auditor-db.secret.conf +++ b/debian/etc-taler-auditor/taler/secrets/auditor-db.secret.conf @@ -4,7 +4,7 @@ # Typically, there should only be a single line here, of the form: -CONFIG=postgres:///DATABASE +CONFIG=postgres:///taler-auditor # The details of the URI depend on where the database lives and how # access control was configured. |