From 047d923359234ba175a3eecd779f8792a2f9d11b Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 11 Oct 2013 14:27:02 -0500
Subject: shellinabox: fix shellinaboxd.include proxy

---
 abs/extra/shellinabox/PKGBUILD             |  4 ++--
 abs/extra/shellinabox/shellinaboxd.include | 13 +++++--------
 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)
+    ))
+}
 
-- 
cgit v0.12