Disabled SSL-domain not redirecting correctly
Posted: Mon 14. Aug 2023, 16:53
Hi,
Disabled SSL domains doesn’t redirect correctly.
Server operating system + version
Debian 11
KeyHelp version + build number
23.1.1 (Build 3016)
Problem description / error messages
When visiting a disabled domain using SSL (https) it displays ”page not found”. When visiting the same domain using non-SSL (http) i redirects correctly as per defined settings.
Expected result
Disabled domains should redirect with SSL to ”disabled domain-url” and not display ”page not found”.
Additional information / possible fix
When an administrator disables a domain then the config is uppdated with only the *:80-block and completely removes *:443-block which makes it ”not found”.
When manually adding the *:443-block to the config file again it works as it should but these lines are removed by KeyHelp on next update.
Disabled SSL domains doesn’t redirect correctly.
Server operating system + version
Debian 11
KeyHelp version + build number
23.1.1 (Build 3016)
Problem description / error messages
When visiting a disabled domain using SSL (https) it displays ”page not found”. When visiting the same domain using non-SSL (http) i redirects correctly as per defined settings.
Expected result
Disabled domains should redirect with SSL to ”disabled domain-url” and not display ”page not found”.
Additional information / possible fix
When an administrator disables a domain then the config is uppdated with only the *:80-block and completely removes *:443-block which makes it ”not found”.
When manually adding the *:443-block to the config file again it works as it should but these lines are removed by KeyHelp on next update.