mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00: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();
|
$uri = $request->getUri();
|
||||||
$host = $uri->getHost();
|
$host = $uri->getHost();
|
||||||
$port = $uri->getPort();
|
$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();
|
$config = $this->configurationManager->GetConfig();
|
||||||
// set AIO_URL
|
// set AIO_URL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue