preparing to merge into master

This commit is contained in:
Jeff Lindsay 2012-04-26 22:19:23 -07:00
parent 279bc10eb5
commit f8932371a7
7 changed files with 3 additions and 13 deletions

View File

@ -1,6 +0,0 @@
client_port = 8098
port = 9999
hostname = 'localhost'
service = 'localtunnel.server.TunnelClient'

View File

@ -1,4 +0,0 @@
port = 9999
hostname = 'localtunnel.local'
service = 'localtunnel.server.TunnelBroker'

View File

@ -1,3 +1,3 @@
www:
type: custom
buildscript: builder
buildscript: deploy/builder

View File

@ -31,7 +31,7 @@ class CodependentGroup(Group):
class TunnelBroker(Service):
"""Top-level service that manages tunnels and runs the frontend"""
port = Setting('port', default=80)
port = Setting('port', default=8000)
address = Setting('address', default='0.0.0.0')
def __init__(self):
@ -64,7 +64,7 @@ class TunnelBroker(Service):
class BrokerFrontend(gevent.pywsgi.WSGIServer):
"""Server that will manage a tunnel or proxy traffic through a tunnel"""
hostname = Setting('hostname', default="localtunnel.com")
hostname = Setting('hostname', default="vcap.me") # *.vcap.me -> 127.0.0.1
def __init__(self, broker):
gevent.pywsgi.WSGIServer.__init__(self, (broker.address, broker.port))