2021-07-30 15:52:34 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
2021-08-05 12:44:03 +02:00
|
|
|
#server_name example.com;
|
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;
|
|
|
|
#proxy_set_header X-Forwarded-Host "example.com";
|
|
|
|
#proxy_set_header X-Forwarded-Proto "https";
|
|
|
|
}
|
2021-07-29 19:36:51 +02:00
|
|
|
}
|