From fc3cd71b8f39afdf02a7613d920c9f846dabf303 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 4 Mar 2023 23:04:43 +0100 Subject: improve nginx configuration consistency --- debian/etc/nginx/sites-available/taler-merchant | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/etc/nginx/sites-available/taler-merchant b/debian/etc/nginx/sites-available/taler-merchant index 8de78a88..30ed62db 100644 --- a/debian/etc/nginx/sites-available/taler-merchant +++ b/debian/etc/nginx/sites-available/taler-merchant @@ -12,14 +12,16 @@ server { # - replace with your actual server name server_name localhost; - location / { + access_log /var/log/nginx/merchant.log; + error_log /var/log/nginx/merchant.err; + location /taler-merchant/ { proxy_pass http://unix:/var/run/taler/merchant-httpd/merchant-http.sock; proxy_redirect off; proxy_set_header Host $host; # NOTE: # - put your actual DNS name here - proxy_set_header X-Forwarded-Host "example.com"; + proxy_set_header X-Forwarded-Host "localhost"; # NOTE: # - uncomment the following line if you are using HTTPS -- cgit v1.2.3