summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-landing
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-01-03 10:21:42 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-01-03 10:21:42 +0100
commitcf1c356f9c4db5572c47d0e71962b94a177070b4 (patch)
treeedcdfd0799f8e9c4440e842397cd3e486e1fe5cb /bin/taler-deployment-landing
parent61c2908f6dd94eeee5bdd92ba4fd09dd83142644 (diff)
downloaddeployment-cf1c356f9c4db5572c47d0e71962b94a177070b4.tar.gz
deployment-cf1c356f9c4db5572c47d0e71962b94a177070b4.tar.bz2
deployment-cf1c356f9c4db5572c47d0e71962b94a177070b4.zip
removing dead code from previous landing deployment
Diffstat (limited to 'bin/taler-deployment-landing')
-rwxr-xr-xbin/taler-deployment-landing23
1 files changed, 0 insertions, 23 deletions
diff --git a/bin/taler-deployment-landing b/bin/taler-deployment-landing
deleted file mode 100755
index 1d9998f..0000000
--- a/bin/taler-deployment-landing
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# serve landing page via uwsgi
-
-base=$HOME
-
-export PATH="$base/deployment":$PATH
-
-ulimit -c $((100 * 1024))
-
-mkdir -p $HOME/sockets
-
-
-# redirect / to index.html,
-# serve static files from $HOME/landing
-exec uwsgi \
- --mimefile /etc/mime.types \
- --socket $HOME/sockets/landing.uwsgi \
- --chmod-socket=660 \
- --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"