commit fbba5c8699dd86b2c915f785ab579cda9c1edb5a parent 536319fd46485ae9d3c5905e892a516fdb30fd4a Author: Florian Dold <florian.dold@gmail.com> Date: Tue, 26 Apr 2016 14:32:35 +0200 bank is uwsgi, not http Diffstat:
| M | etc/nginx/sites-enabled/test.site | | | 40 | ++++++++++++++++++++-------------------- |
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site @@ -53,24 +53,24 @@ server { server { - listen 443 ssl; - server_name shop.test.taler.net; - ssi on; - include conf.d/test.redirects; - include conf.d/talerssl; - - location / { - uwsgi_pass unix:/home/test/sockets/donations.uwsgi; - include /etc/nginx/uwsgi_params; - } - - - location /backend { - rewrite /backend/(.*) /$1 break; - proxy_pass http://unix:/home/test/sockets/merchant.http:/; - proxy_redirect off; - proxy_set_header Host $host; - } + listen 443 ssl; + server_name shop.test.taler.net; + ssi on; + include conf.d/test.redirects; + include conf.d/talerssl; + + location / { + uwsgi_pass unix:/home/test/sockets/donations.uwsgi; + include /etc/nginx/uwsgi_params; + } + + + location /backend { + rewrite /backend/(.*) /$1 break; + proxy_pass http://unix:/home/test/sockets/merchant.http:/; + proxy_redirect off; + proxy_set_header Host $host; + } } @@ -82,7 +82,7 @@ server { include conf.d/talerssl; location / { - uwsgi_pass http://unix:/home/test/sockets/bank.uwsgi:/; - include /etc/nginx/uwsgi_params; + uwsgi_pass unix:/home/test/sockets/bank.uwsgi; + include /etc/nginx/uwsgi_params; } }