Commit ced7c14a authored by Daniele Venzano's avatar Daniele Venzano

Tell Tornado to use reverse proxy headers when available

parent 570c37e2
......@@ -72,7 +72,7 @@ def zoe_web_main(test_conf=None) -> int:
JinjaApp.init_app(app)
log.info("Starting HTTP server...")
http_server = HTTPServer(app)
http_server = HTTPServer(app, xheaders=True)
http_server.bind(args.listen_port, args.listen_address)
http_server.start(num_processes=1)
......
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