<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>blog.crox.net (Entries tagged as nextcloud)</title>
    <link>https://blog.crox.net/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.5.0 - http://www.s9y.org/</generator>
    <pubDate>Fri, 02 May 2025 18:08:00 GMT</pubDate>

    <image>
    <url>https://blog.crox.net/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: blog.crox.net - </title>
    <link>https://blog.crox.net/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>libheif1 &gt;= 1.18 on debian 12 bookworm (installing packages from backport in debian stable)</title>
    <link>https://blog.crox.net/archives/127-libheif1-1.18-on-debian-12-bookworm-installing-packages-from-backport-in-debian-stable.html</link>
    
    <comments>https://blog.crox.net/archives/127-libheif1-1.18-on-debian-12-bookworm-installing-packages-from-backport-in-debian-stable.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=127</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=127</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    Add this line to &lt;tt&gt;/etc/apt/sources.list&lt;/tt&gt;:&lt;pre&gt;deb http://deb.debian.org/debian bookworm-backports main&lt;/pre&gt;Run:&lt;pre&gt;# apt-get update&lt;br/&gt;# apt install -t bookworm-backports libheif1&lt;/pre&gt;&lt;br /&gt;
This solves the issues encountered when decoding HEIF (.heic) files produced by iPhone / iOS 18, causing for instance rendering in Nextcloud to fail.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://backports.debian.org/Instructions/&quot; title=&quot;debian backports instructions&quot;&gt;This page&lt;/a&gt; has more details on using Backports.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 02 May 2025 18:08:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/127-guid.html</guid>
    <category>debian</category>
<category>heic</category>
<category>heif</category>
<category>linux</category>
<category>nextcloud</category>

</item>
<item>
    <title>Nextcloud behind reverse proxy - WOPI URL changed from https to http</title>
    <link>https://blog.crox.net/archives/126-Nextcloud-behind-reverse-proxy-WOPI-URL-changed-from-https-to-http.html</link>
    
    <comments>https://blog.crox.net/archives/126-Nextcloud-behind-reverse-proxy-WOPI-URL-changed-from-https-to-http.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=126</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=126</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    I&#039;m trying out the &quot;Nextcloud Office&quot; app together with &quot;Collabora Online - Built-in CODE Server&quot;. That Nextcloud instance is behind a reverse proxy.&lt;br /&gt;
&lt;br /&gt;
The problem I encountered was that regardless of the &#039;overwritehost&#039; and &#039;overwriteprotocol&#039; settings, the WOPI URL kept being automatically changed from https to http.&lt;br /&gt;
&lt;br /&gt;
From other posts regarding similar issues I figured out that the WOPI URL is obtained by querying https://[yourinstance]/apps/richdocumentscode/proxy.php?req=/hosting/discovery&lt;br /&gt;
&lt;br /&gt;
Looking at the proxy.php source code, I found the reason for the issue:&lt;br /&gt;
&lt;pre&gt;// URL into this server of the proxy script.&lt;br/&gt;if ((isset($_SERVER[&#039;HTTPS&#039;]) &amp;&amp;amp; $_SERVER[&#039;HTTPS&#039;] !== &#039;off&#039;)&lt;br/&gt;        || (isset($_SERVER[&#039;HTTP_X_FORWARDED_PROTO&#039;]) &amp;&amp;amp; $_SERVER[&#039;HTTP_X_FORWARDED_PROTO&#039;] === &#039;https&#039; )&lt;br/&gt;        || (isset($_SERVER[&#039;HTTP_X_FORWARDED_SSL&#039;]) &amp;&amp;amp; $_SERVER[&#039;HTTP_X_FORWARDED_SSL&#039;] === &#039;on&#039;)&lt;br/&gt;) { &lt;br/&gt;    $proxyURL = &quot;https://&quot;;&lt;br/&gt;} else {&lt;br/&gt;    $proxyURL = &quot;http://&quot;;&lt;br/&gt;}&lt;/pre&gt;&lt;br /&gt;
I then modified my reverse proxy (Apache) config to add the missing header:&lt;br /&gt;
&lt;pre&gt;RequestHeader set X-Forwarded-Proto &quot;https&quot;&lt;/pre&gt;&lt;br /&gt;
Now everything works as expected &lt;img src=&quot;https://blog.crox.net/plugins/serendipity_event_emoticate/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 05 Mar 2025 22:45:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/126-guid.html</guid>
    <category>apache</category>
<category>nextcloud</category>
<category>proxy</category>

</item>

</channel>
</rss>
