From 0a3c99dc05b89c9291c88c526b87ff8d19a22b45 Mon Sep 17 00:00:00 2001 From: Apex Liu Date: Wed, 9 May 2018 16:29:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=BC=BA=EF=BC=9A=E9=85=8D=E5=90=88ng?= =?UTF-8?q?inx=E5=89=8D=E7=BD=AE=EF=BC=8C=E5=8F=AF=E4=BB=A5=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7=E7=9A=84=E5=8E=9F?= =?UTF-8?q?=E5=A7=8BIP=E8=80=8C=E4=B8=8D=E6=98=AFnginx=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E7=9A=84IP=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/www/teleport/webroot/app/base/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/www/teleport/webroot/app/base/webapp.py b/server/www/teleport/webroot/app/base/webapp.py index 30bc983..05f8186 100644 --- a/server/www/teleport/webroot/app/base/webapp.py +++ b/server/www/teleport/webroot/app/base/webapp.py @@ -149,7 +149,7 @@ class WebApp: fix_controller() _app = tornado.web.Application(controllers, **settings) - server = tornado.httpserver.HTTPServer(_app) + server = tornado.httpserver.HTTPServer(_app, xheaders=True) # server = tornado.httpserver.HTTPServer(_app, ssl_options={ # "certfile": os.path.join(cfg.data_path, 'cert', "server.pem"), # "keyfile": os.path.join(cfg.data_path, 'cert', "server.key"),