mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
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:
commit
981166d218
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