summaryrefslogtreecommitdiff
path: root/debian/etc/nginx/sites-available/taler-merchant
diff options
context:
space:
mode:
Diffstat (limited to 'debian/etc/nginx/sites-available/taler-merchant')
-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