diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-10-11 19:27:02 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-10-11 19:27:02 (GMT) |
commit | 047d923359234ba175a3eecd779f8792a2f9d11b (patch) | |
tree | 22e46edddf385179fbf5d5ad215a622e51a4e4c3 /abs/extra/shellinabox/shellinaboxd.include | |
parent | 0cc0148c66fc114a1e8d4dba7d24b588106bb16e (diff) | |
download | linhes_pkgbuild-047d923359234ba175a3eecd779f8792a2f9d11b.zip linhes_pkgbuild-047d923359234ba175a3eecd779f8792a2f9d11b.tar.gz linhes_pkgbuild-047d923359234ba175a3eecd779f8792a2f9d11b.tar.bz2 |
shellinabox: fix shellinaboxd.include proxy
Diffstat (limited to 'abs/extra/shellinabox/shellinaboxd.include')
-rw-r--r-- | abs/extra/shellinabox/shellinaboxd.include | 13 |
1 files changed, 5 insertions, 8 deletions
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) + )) +} |