Merge pull request #677 from nextcloud/fix/673/fix-port

set AIO_URL port to 443 if port 8000 was discovered
This commit is contained in:
Simon L 2022-05-23 15:03:51 +02:00 committed by GitHub
commit 981166d218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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