diff options
Diffstat (limited to 'etc/nginx/sites-enabled/test.site')
-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; } } |