From 6518217d2b4f885d2811067a918a4fc6f1a3a322 Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 12 Jan 2024 17:07:59 +0100 Subject: [PATCH] point at documentation if AIO is in RP mode Signed-off-by: Simon L --- php/src/Data/ConfigurationManager.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index c72e1641..a757a386 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -359,6 +359,9 @@ class ConfigurationManager error_log('The response of the connection attempt to "' . $testUrl . '" was: ' . $response); error_log('Expected was: ' . $instanceID); error_log('The error message was: ' . curl_error($ch)); + if ($port !== '443') { + error_log('Please follow https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#6-how-to-debug-things in order to debug things!'); + } throw new InvalidSettingConfigurationException("Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')"); } }