diff --git a/core/nginx/config.py b/core/nginx/config.py index 1f06424b..0044772e 100755 --- a/core/nginx/config.py +++ b/core/nginx/config.py @@ -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':