mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-14 17:27:23 +01:00
still doesnt work
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
from management.daemon import app
|
||||
import utils
|
||||
from daemon import app
|
||||
import auth, utils
|
||||
|
||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||
|
||||
app.wsgi_app = ProxyFix(
|
||||
app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_prefix=1
|
||||
)
|
||||
|
||||
env = utils.load_environment()
|
||||
auth_service = auth.AuthService()
|
||||
|
||||
app.logger.addHandler(utils.create_syslog_handler())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user