taler-deployment

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

commit 2400bc4b6079b09d8a9c0334b98a77e90de470a8
parent 20265bc9044be8658d9b23119fa2f7123e5a4b58
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue,  2 Jan 2018 11:59:49 +0100

--route => --route-if

Diffstat:
Mbin/taler-deployment-landing | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/taler-deployment-landing b/bin/taler-deployment-landing @@ -17,7 +17,7 @@ exec uwsgi \ --mimefile /etc/mime.types \ --socket $HOME/sockets/landing.uwsgi \ --chmod-socket=660 \ - --route "^/?$ redirect:index.html" \ - --route "^/(.+) addvar:FILE=$HOME/landing/demo/\$1" \ - --route-if "exists:\${FILE} static:\${FILE}" \ - --route "^/(.+) break:404 not found" + --route-if "regexp:${PATH_INFO};^/?$ redirect:index.html" \ + --route-if "regexp:${PATH_INFO};^/(.+) addvar:FILE=$HOME/landing/demo/\$1" \ + --route-if "exists:${PATH_INFO};\${FILE} static:\${FILE}" \ + --route-if "regexp:${PATH_INFO};^/(.+) break:404 not found"