diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-26 14:32:35 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-26 14:32:35 +0200 |
commit | fbba5c8699dd86b2c915f785ab579cda9c1edb5a (patch) | |
tree | 8a9b3c08cfbc28e6d21c23e7e32f5e17b4f42529 /etc/nginx/sites-enabled | |
parent | 536319fd46485ae9d3c5905e892a516fdb30fd4a (diff) | |
download | deployment-fbba5c8699dd86b2c915f785ab579cda9c1edb5a.tar.gz deployment-fbba5c8699dd86b2c915f785ab579cda9c1edb5a.tar.bz2 deployment-fbba5c8699dd86b2c915f785ab579cda9c1edb5a.zip |
bank is uwsgi, not http
Diffstat (limited to 'etc/nginx/sites-enabled')
-rw-r--r-- | etc/nginx/sites-enabled/test.site | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site index e616e3c..8010072 100644 --- 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; } } |