better sample nginx config
This commit is contained in:
parent
c0d4a35a51
commit
625897d8b3
@ -1,7 +1,14 @@
|
|||||||
location /taler-exchange/ {
|
server {
|
||||||
proxy_pass http://unix:/run/taler/exchange/exchange-http.sock;
|
listen 80;
|
||||||
proxy_redirect off;
|
listen [::]:80;
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Forwarded-Host "example.com";
|
#server_name example.com
|
||||||
proxy_set_header X-Forwarded-Proto "https";
|
|
||||||
|
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