<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nextcloud on miti99</title><link>https://miti99.com/en/tags/nextcloud/</link><description>Recent content in Nextcloud on miti99</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 16 Nov 2026 17:39:19 +0700</lastBuildDate><atom:link href="https://miti99.com/en/tags/nextcloud/index.xml" rel="self" type="application/rss+xml"/><item><title>Fixing Nextcloud Client Login Issues When Deployed with Coolify</title><link>https://miti99.com/en/post/2025/03/13/</link><pubDate>Thu, 13 Mar 2025 00:00:00 +0700</pubDate><guid>https://miti99.com/en/post/2025/03/13/</guid><description>&lt;p&gt;&lt;em&gt;I&amp;rsquo;ll consider writing a dedicated post introducing Coolify in more detail later. Today, I&amp;rsquo;ll just focus on solving a specific issue I ran into.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="the-problem"&gt;The Problem&lt;/h2&gt;&lt;p&gt;After successfully setting up Nextcloud with Coolify, you can access and use the web interface via IP or domain as usual. However, when trying to log in from the Nextcloud desktop/mobile client, you run into the following error:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;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.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://miti99.com/post/2025/03/13/img/1.png" alt=""&gt;&lt;/p&gt;
&lt;h2 id="the-fix"&gt;The Fix&lt;/h2&gt;&lt;ol&gt;
&lt;li&gt;Connect to the Nextcloud container terminal.&lt;/li&gt;
&lt;li&gt;Run the following command to open the Nextcloud configuration file:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nano /config/www/nextcloud/config/config.php
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;ol start="3"&gt;
&lt;li&gt;Add or update the following settings:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;#39;overwrite.cli.url&amp;#39; =&amp;gt; &amp;#39;https://yourdomain.com&amp;#39;,
&amp;#39;overwriteprotocol&amp;#39; =&amp;gt; &amp;#39;https&amp;#39;,
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;Replace &lt;code&gt;yourdomain.com&lt;/code&gt; with your actual domain.&lt;/em&gt;&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;
&lt;p&gt;Save the file and restart Nextcloud.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Try logging in from the client again.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks for reading, and good luck!&lt;/p&gt;</description></item></channel></rss>