set AIO_URL port to 443 if port 8000 was discovered

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-05-20 12:36:16 +02:00
parent be7d57cf9f
commit c64bfd7253

View file

@ -132,6 +132,10 @@ class DockerController
$uri = $request->getUri();
$host = $uri->getHost();
$port = $uri->getPort();
if ($port === 8000) {
error_log('The AIO_URL-port was discovered to be 8000 which is not expected. It is now set to 443.');
$port = 443;
}
$config = $this->configurationManager->GetConfig();
// set AIO_URL