commit fc3cd71b8f39afdf02a7613d920c9f846dabf303
parent 385b1d3d9178e459eaf553ef14275d228f8f0fa7
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 4 Mar 2023 23:04:43 +0100
improve nginx configuration consistency
Diffstat:
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
@@ -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