diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-11-20 16:58:07 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-11-20 16:58:07 +0100 |
commit | 3c1e1e0f0ea147ffc67e59b1de1ae6a2c9760031 (patch) | |
tree | e0af40ea10c0ab7ed385c178a072d51b3d26e19d /etc/nginx/sites-enabled | |
parent | 53665776b171651a41a746875a8dc81bdcef4aff (diff) | |
download | deployment-3c1e1e0f0ea147ffc67e59b1de1ae6a2c9760031.tar.gz deployment-3c1e1e0f0ea147ffc67e59b1de1ae6a2c9760031.tar.bz2 deployment-3c1e1e0f0ea147ffc67e59b1de1ae6a2c9760031.zip |
survey is a standalone site
Diffstat (limited to 'etc/nginx/sites-enabled')
-rw-r--r-- | etc/nginx/sites-enabled/test.site | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site index fc15b0b..2a9f74f 100644 --- a/etc/nginx/sites-enabled/test.site +++ b/etc/nginx/sites-enabled/test.site @@ -154,12 +154,12 @@ server { location @blue { add_header X-Taler-Deployment-Color blue; - uwsgi_pass unix:/home/test-green/sockets/shop.uwsgi; + uwsgi_pass unix:/home/test-blue/sockets/shop.uwsgi; include /etc/nginx/uwsgi_params; } location @green { add_header X-Taler-Deployment-Color green; - uwsgi_pass unix:/home/test-blue/sockets/shop.uwsgi; + uwsgi_pass unix:/home/test-green/sockets/shop.uwsgi; include /etc/nginx/uwsgi_params; } @@ -251,7 +251,7 @@ server { include conf.d/talerssl; location / { - rewrite ^.*$ $scheme://donations.test.taler.net/survey redirect; + uwsgi_pass unix:/home/test/sockets/survey.uwsgi; } } |