From a4542507b5e47ff6be6660f77c645f44fd7903a3 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Wed, 19 Jun 2024 14:52:43 +0200 Subject: [PATCH] remove another warning ERROR:root:Not sure what to do with in PROXY_PROTOCOL (None) (cherry picked from commit 12c1affc05304a8b058afbceacac441a7462fc94) --- core/nginx/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':