Coolify에 대해서는 나중에 별도 글에서 자세히 다룰까 합니다. 오늘은 제가 겪은 문제를 해결하는 방법만 이야기하겠습니다.

문제

Coolify로 Nextcloud를 설치하면 IP 주소나 도메인으로 웹 화면에 정상적으로 접속할 수 있습니다. 하지만 Nextcloud 클라이언트로 로그인하면 다음 오류가 납니다.

The polling URL does not start with HTTPS despite the login URL started with HTTPS. Login will not be possible because this might be a security issue. Please contact your administrator.

해결 방법

  1. Nextcloud 터미널에 접속합니다.
  2. 다음 명령으로 Nextcloud 구성 파일을 엽니다.
1
nano /config/www/nextcloud/config/config.php
  1. 다음과 같이 설정을 수정합니다.
'overwrite.cli.url' => 'https://yourdomain.com',
'overwriteprotocol' => 'https',

yourdomain.com을 본인의 도메인으로 바꾸세요.

  1. 파일을 저장하고 Nextcloud를 다시 시작합니다.

  2. 클라이언트에서 다시 로그인해 봅니다.

읽어 주셔서 감사합니다. 잘 해결되길 바랍니다!