aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-03-04 23:04:43 +0100
committerChristian Grothoff <christian@grothoff.org>2023-03-04 23:04:43 +0100
commitfc3cd71b8f39afdf02a7613d920c9f846dabf303 (patch)
tree145eb07f796fb6c8538c52873f45faf11d3f999d
parent385b1d3d9178e459eaf553ef14275d228f8f0fa7 (diff)
improve nginx configuration consistency
-rw-r--r--debian/etc/nginx/sites-available/taler-merchant6
1 files 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