gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] 01/02: improve nginx configuration consistency


From: gnunet
Subject: [taler-merchant] 01/02: improve nginx configuration consistency
Date: Sat, 04 Mar 2023 23:10:27 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

commit fc3cd71b8f39afdf02a7613d920c9f846dabf303
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Mar 4 23:04:43 2023 +0100

    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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]