preparing to merge into master
This commit is contained in:
parent
279bc10eb5
commit
f8932371a7
|
@ -1,6 +0,0 @@
|
|||
client_port = 8098
|
||||
port = 9999
|
||||
hostname = 'localhost'
|
||||
|
||||
service = 'localtunnel.server.TunnelClient'
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
port = 9999
|
||||
hostname = 'localtunnel.local'
|
||||
|
||||
service = 'localtunnel.server.TunnelBroker'
|
|
@ -1,3 +1,3 @@
|
|||
www:
|
||||
type: custom
|
||||
buildscript: builder
|
||||
buildscript: deploy/builder
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue