use localhost, for consistency

This commit is contained in:
Christian Grothoff 2023-03-04 17:43:18 +01:00
parent 72ad473fde
commit dd59f3eea6
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -2,13 +2,13 @@ server {
listen 80;
listen [::]:80;
#server_name example.com;
server_name localhost;
location /taler-exchange/ {
proxy_pass http://unix:/run/taler/exchange-httpd/exchange-http.sock:/;
proxy_redirect off;
proxy_set_header Host $host;
#proxy_set_header X-Forwarded-Host "example.com";
proxy_set_header X-Forwarded-Host "localhost";
#proxy_set_header X-Forwarded-Proto "https";
}
}