Commits

Marcin Kuzminski committed 7e9c80b

fixed middleware for new https fixup

Comments (0)

Files changed (1)

rhodecode/config/middleware.py

             app = StatusCodeRedirect(app, [400, 401, 403, 404, 500])
 
     #enable https redirets based on HTTP_X_URL_SCHEME set by proxy
-    app = HttpsFixup(app)
+    app = HttpsFixup(app, config)
 
     # Establish the Registry for this application
     app = RegistryManager(app)