summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-10-11 19:27:02 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-10-11 19:27:02 (GMT)
commit047d923359234ba175a3eecd779f8792a2f9d11b (patch)
tree22e46edddf385179fbf5d5ad215a622e51a4e4c3
parent0cc0148c66fc114a1e8d4dba7d24b588106bb16e (diff)
downloadlinhes_pkgbuild-047d923359234ba175a3eecd779f8792a2f9d11b.zip
linhes_pkgbuild-047d923359234ba175a3eecd779f8792a2f9d11b.tar.gz
linhes_pkgbuild-047d923359234ba175a3eecd779f8792a2f9d11b.tar.bz2
shellinabox: fix shellinaboxd.include proxy
-rw-r--r--abs/extra/shellinabox/PKGBUILD4
-rw-r--r--abs/extra/shellinabox/shellinaboxd.include13
2 files changed, 7 insertions, 10 deletions
diff --git a/abs/extra/shellinabox/PKGBUILD b/abs/extra/shellinabox/PKGBUILD
index 0fbe1e4..af3b4be 100644
--- a/abs/extra/shellinabox/PKGBUILD
+++ b/abs/extra/shellinabox/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Brian Moore <archlinux@cptl.org>
pkgname=shellinabox
pkgver=2.14
-pkgrel=5
+pkgrel=6
pkgdesc="A web-based ssh client."
arch=('i686' 'x86_64')
url="http://shellinabox.com/"
@@ -49,5 +49,5 @@ md5sums=('6c63b52edcebc56ee73a108e7211d174'
'feea22575089cc7eb4925b1daff88b8c'
'77e487f36da2abe51251500f4a1e024f'
'be649866d06ba497d88bb14f3e58f862'
- '06b131e47522d8028aa245c1b8884e00'
+ 'dd46ab61bfafdb56ea705a876963550e'
'aadd1edf4110aca2d16d806791e90019')
diff --git a/abs/extra/shellinabox/shellinaboxd.include b/abs/extra/shellinabox/shellinaboxd.include
index c4c11bd..8d2befa 100644
--- a/abs/extra/shellinabox/shellinaboxd.include
+++ b/abs/extra/shellinabox/shellinaboxd.include
@@ -1,10 +1,7 @@
#proxy for shellinaboxd
-proxy.server = ( "/shell/" =>
- ( "localhost" =>
- (
- "host" => "127.0.0.1",
- "port" => 4200
- )
- )
-)
+$HTTP["url"] =~ "/shell/" {
+ proxy.server = ( "" => (
+ ("host" => "127.0.0.1", "port" => 4200)
+ ))
+}