mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-11 01:13:41 +08:00
set AIO_URL port to 443 if port 8000 was discovered
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
be7d57cf9f
commit
c64bfd7253
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue