Commit 6c379644 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

slaprunner: add support for reverse proxy

parent dbb92076
......@@ -127,6 +127,7 @@ def run():
def serve(config):
from views import app
from werkzeug.contrib.fixers import ProxyFix
workdir = os.path.join(config.runner_workdir, 'project')
software_link = os.path.join(config.runner_workdir, 'softwareLink')
......@@ -148,5 +149,6 @@ def serve(config):'Running slapgrid...')
app.wsgi_app = ProxyFix(app.wsgi_app), port=int(config.runner_port),
debug=config.debug, threaded=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment