diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-03 23:29:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-03 23:29:27 +0100 |
commit | 9a24b4a0dccc299e17279e115a3e460092cab0d3 (patch) | |
tree | 9b2122dfcd3fec99118fa03831dcf8296468956f /debian/auditor-conf | |
parent | d981da056e776e0756cfddb22f18308b9ab913a5 (diff) |
fix auditor postinst
Diffstat (limited to 'debian/auditor-conf')
-rw-r--r-- | debian/auditor-conf/apache.conf | 4 | ||||
-rw-r--r-- | debian/auditor-conf/nginx.conf | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/auditor-conf/apache.conf b/debian/auditor-conf/apache.conf new file mode 100644 index 000000000..f68c59558 --- /dev/null +++ b/debian/auditor-conf/apache.conf @@ -0,0 +1,4 @@ +<Location "/taler-auditor/"> +ProxyPass "unix:/var/lib/taler-auditor/auditor.sock|http://example.com/" +RequestHeader add "X-Forwarded-Proto" "https" +</Location> diff --git a/debian/auditor-conf/nginx.conf b/debian/auditor-conf/nginx.conf new file mode 100644 index 000000000..3fdffdad3 --- /dev/null +++ b/debian/auditor-conf/nginx.conf @@ -0,0 +1,7 @@ +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"; +}
\ No newline at end of file |