summaryrefslogtreecommitdiff
path: root/contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-05-18 22:15:29 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-05-18 22:15:29 +0200
commit689fd46a60863f9a5b025cec79f5a03be1bddbab (patch)
tree585266bd8ff828b6d10b762b72c4aa7ebff1040d /contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor
parentbac71237632d31487c075a29f9e95d95ee7909bd (diff)
downloadexchange-689fd46a60863f9a5b025cec79f5a03be1bddbab.tar.gz
exchange-689fd46a60863f9a5b025cec79f5a03be1bddbab.tar.bz2
exchange-689fd46a60863f9a5b025cec79f5a03be1bddbab.zip
Add a packaging folder to contrib and place
systemd/etc files from debian folder. Also adds the packaging folder to the tarball.
Diffstat (limited to 'contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor')
-rw-r--r--contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor b/contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor
new file mode 100644
index 000000000..f74035d53
--- /dev/null
+++ b/contrib/packages/fedora/etc-taler-auditor/nginx/sites-available/taler-auditor
@@ -0,0 +1,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";
+ }
+} \ No newline at end of file