From e08ee25532f5796b375eb78fdcbf3273047bf2fc Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 23 Aug 2024 11:37:50 +0000 Subject: [PATCH] Prioritize port 443 Port 443 has more chance to work in networks where ports other than 80 and 443 are dropped. Otherwise user has to wait for other ports to time out before trying port 443. --- cmdeploy/src/cmdeploy/nginx/autoconfig.xml.j2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cmdeploy/src/cmdeploy/nginx/autoconfig.xml.j2 b/cmdeploy/src/cmdeploy/nginx/autoconfig.xml.j2 index a4b324af..62347247 100644 --- a/cmdeploy/src/cmdeploy/nginx/autoconfig.xml.j2 +++ b/cmdeploy/src/cmdeploy/nginx/autoconfig.xml.j2 @@ -5,6 +5,13 @@ {{ config.domain_name }} {{ config.domain_name }} chatmail {{ config.domain_name }} + + {{ config.domain_name }} + 443 + SSL + password-cleartext + %EMAILADDRESS% + {{ config.domain_name }} 993 @@ -19,13 +26,13 @@ password-cleartext %EMAILADDRESS% - + {{ config.domain_name }} 443 SSL password-cleartext %EMAILADDRESS% - + {{ config.domain_name }} 465 @@ -40,12 +47,5 @@ password-cleartext %EMAILADDRESS% - - {{ config.domain_name }} - 443 - SSL - password-cleartext - %EMAILADDRESS% -