taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 7c61d4bf1f20464f367f1d5a981f9046365d66ac
parent e4275069b7eb32572e977c60bd4f81377660c470
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Tue, 27 Sep 2016 17:36:27 +0200

adding /admin redirect on demo's nginx config

Diffstat:
Metc/nginx/sites-enabled/demo.site | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/etc/nginx/sites-enabled/demo.site b/etc/nginx/sites-enabled/demo.site @@ -29,6 +29,12 @@ server { root /dev/null; include conf.d/talerssl; + location /admin { + proxy_pass http://unix:/home/test/sockets/exchange-admin.http; + proxy_redirect off; + proxy_set_header Host $host; + } + location / { proxy_pass http://unix:/home/demo/sockets/exchange.http:/; proxy_redirect off; @@ -102,7 +108,8 @@ server { location /admin/add/incoming { allow 127.0.0.1; - allow ::1; + allow 131.254.145.3; + allow 2001:660:7303:145::2; deny all; }