diff --git a/app.py b/app.py index e863bcf..f18e017 100644 --- a/app.py +++ b/app.py @@ -23,11 +23,11 @@ from roles.models import get_all_roles from sup_view import inspect_supervisor from werkzeug.utils import secure_filename -from werkzeug.middleware.proxy_fix import ProxyFix -app = Flask(__name__) -app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_port=1) +from flask_sslify import SSLify +app = Flask(__name__) +sslify = SSLify(app) # Configuration app.config["DEBUG"] = True