exchange/debian/etc-taler-exchange/nginx/sites-available/taler-exchange

18 lines
424 B
Plaintext
Raw Normal View History

2021-07-30 15:52:34 +02:00
server {
listen 80;
listen [::]:80;
2023-03-04 17:43:18 +01:00
server_name localhost;
2021-07-30 15:52:34 +02:00
access_log /var/log/nginx/exchange.log;
error_log /var/log/nginx/exchange.err;
2021-07-30 15:52:34 +02:00
location /taler-exchange/ {
2021-08-04 19:15:32 +02:00
proxy_pass http://unix:/run/taler/exchange-httpd/exchange-http.sock:/;
2021-07-30 15:52:34 +02:00
proxy_redirect off;
proxy_set_header Host $host;
2023-03-04 17:43:18 +01:00
proxy_set_header X-Forwarded-Host "localhost";
2021-07-30 15:52:34 +02:00
#proxy_set_header X-Forwarded-Proto "https";
}
2021-07-29 19:36:51 +02:00
}