diff options
Diffstat (limited to 'debian/etc-taler-exchange/nginx/sites-available/taler-exchange')
-rw-r--r-- | debian/etc-taler-exchange/nginx/sites-available/taler-exchange | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange index 6737d9129..8e7dcbb2e 100644 --- a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange +++ b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange @@ -1,7 +1,14 @@ -location /taler-exchange/ { - proxy_pass http://unix:/run/taler/exchange/exchange-http.sock; - proxy_redirect off; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-Host "example.com"; - proxy_set_header X-Forwarded-Proto "https"; +server { + listen 80; + listen [::]:80; + + #server_name example.com + + location /taler-exchange/ { + proxy_pass http://unix:/run/taler/exchange/exchange-http.sock; + proxy_redirect off; + proxy_set_header Host $host; + #proxy_set_header X-Forwarded-Host "example.com"; + #proxy_set_header X-Forwarded-Proto "https"; + } } |