mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
remove another warning
ERROR:root:Not sure what to do with in PROXY_PROTOCOL (None)
(cherry picked from commit 12c1affc05
)
This commit is contained in:
parent
1bcbf4b613
commit
a4542507b5
@ -76,7 +76,7 @@ PROTO_ALL_BUT_HTTP=PROTO_MAIL.copy()
|
||||
PROTO_ALL_BUT_HTTP.extend(['443'])
|
||||
PROTO_ALL=PROTO_ALL_BUT_HTTP.copy()
|
||||
PROTO_ALL.extend(['80'])
|
||||
for item in args.get('PROXY_PROTOCOL', '').split(','):
|
||||
for item in args.get('PROXY_PROTOCOL', None).split(','):
|
||||
if item.isdigit():
|
||||
args[f'PROXY_PROTOCOL_{item}']=True
|
||||
elif item == 'mail':
|
||||
|
Loading…
Reference in New Issue
Block a user