exchange/contrib/packages/fedora/etc-taler-exchange/nginx/sites-available/taler-exchange
Martin Schanzenbach 689fd46a60
Add a packaging folder to contrib and place
systemd/etc files from debian folder.
Also adds the packaging folder to the tarball.
2023-05-18 22:15:29 +02:00

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";
}
}