summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-26 14:32:35 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-26 14:32:35 +0200
commitfbba5c8699dd86b2c915f785ab579cda9c1edb5a (patch)
tree8a9b3c08cfbc28e6d21c23e7e32f5e17b4f42529 /etc
parent536319fd46485ae9d3c5905e892a516fdb30fd4a (diff)
downloaddeployment-fbba5c8699dd86b2c915f785ab579cda9c1edb5a.tar.gz
deployment-fbba5c8699dd86b2c915f785ab579cda9c1edb5a.tar.bz2
deployment-fbba5c8699dd86b2c915f785ab579cda9c1edb5a.zip
bank is uwsgi, not http
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx/sites-enabled/test.site40
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;
}
}