689fd46a60
systemd/etc files from debian folder. Also adds the packaging folder to the tarball.
18 lines
424 B
Plaintext
18 lines
424 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name localhost;
|
|
|
|
access_log /var/log/nginx/exchange.log;
|
|
error_log /var/log/nginx/exchange.err;
|
|
|
|
location /taler-exchange/ {
|
|
proxy_pass http://unix:/run/taler/exchange-httpd/exchange-http.sock:/;
|
|
proxy_redirect off;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Host "localhost";
|
|
#proxy_set_header X-Forwarded-Proto "https";
|
|
}
|
|
}
|