From 47d1d18fd5d91ae98eb4b57befa5ba366b8f68e0 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 15 Oct 2020 14:10:37 +0200 Subject: [PATCH] ProxyFix not needed at all on werkzeug 1.x --- usr/share/vmmgr/wsgi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/share/vmmgr/wsgi.py b/usr/share/vmmgr/wsgi.py index fc3e6ac..ecb99b7 100755 --- a/usr/share/vmmgr/wsgi.py +++ b/usr/share/vmmgr/wsgi.py @@ -7,7 +7,6 @@ application = WSGIApp() if __name__ == '__main__': import os - from werkzeug.middleware.proxy_fix import ProxyFix from werkzeug.serving import run_simple - run_simple('127.0.0.1', 8080, ProxyFix(application), threaded=True) + run_simple('127.0.0.1', 8080, application, threaded=True)