better sample nginx config
This commit is contained in:
parent
c0d4a35a51
commit
625897d8b3
@ -1,7 +1,14 @@
|
||||
location /taler-exchange/ {
|
||||
proxy_pass http://unix:/run/taler/exchange/exchange-http.sock;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Host "example.com";
|
||||
proxy_set_header X-Forwarded-Proto "https";
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
#server_name example.com
|
||||
|
||||
location /taler-exchange/ {
|
||||
proxy_pass http://unix:/run/taler/exchange/exchange-http.sock;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
#proxy_set_header X-Forwarded-Host "example.com";
|
||||
#proxy_set_header X-Forwarded-Proto "https";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user