<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Feat: Make it possible to override the index document]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">currently surfer has the ability to serve either <code>index.html</code> oder <code>index.htm</code> as its default file visiting the domain where surfer is installed.</p>
<p dir="auto">What we want to do is to provide an install script (which should be served as <code>text/plain</code> or maybe rather <code>application/x-shellscript</code>) on one of my Cloudron domains so users can simply do a:</p>
<pre><code>wget https://setup.domain.com
bash index.sh
</code></pre>
<p dir="auto">edit: the file should be displayed in plain so <code>application/x-shellscript</code> would not be the desired behaviour actually.</p>
]]></description><link>https://forum.cloudron.io/topic/5049/feat-make-it-possible-to-override-the-index-document</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 23:49:13 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5049.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 May 2021 15:46:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Feat: Make it possible to override the index document on Fri, 14 May 2021 19:23:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> thanks. works like a charm now.</p>
]]></description><link>https://forum.cloudron.io/post/31371</link><guid isPermaLink="true">https://forum.cloudron.io/post/31371</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Fri, 14 May 2021 19:23:30 GMT</pubDate></item><item><title><![CDATA[Reply to Feat: Make it possible to override the index document on Fri, 14 May 2021 13:13:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> I've decided against the magic and just added a new setting to specify the index document name. A new package is made so you can test it after update.</p>
]]></description><link>https://forum.cloudron.io/post/31338</link><guid isPermaLink="true">https://forum.cloudron.io/post/31338</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 14 May 2021 13:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Feat: Make it possible to override the index document on Tue, 11 May 2021 20:03:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>,</p>
<p dir="auto">that sounds like a nice and simple solution.</p>
<p dir="auto">Primarily we want that users see the contents of the script when navigating to <a href="https://setup.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://setup.domain.com</a>, so with the above tweak we can just store the script as index.txt and instruct them to do <code>curl https://setup.domain.com &gt; script.sh</code>.</p>
<p dir="auto">So that would be covered by your solution.</p>
]]></description><link>https://forum.cloudron.io/post/31176</link><guid isPermaLink="true">https://forum.cloudron.io/post/31176</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Tue, 11 May 2021 20:03:09 GMT</pubDate></item><item><title><![CDATA[Reply to Feat: Make it possible to override the index document on Tue, 11 May 2021 16:37:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> I do wonder if serving up any <code>index.*</code> with giving htm(l) precendence would be fine. It might be a bit magic, but I generally like to keep config options for surfer only where really necessary.</p>
<p dir="auto">But yes otherwise I guess a simple config just containing the wanted index filename can also be added easily.</p>
]]></description><link>https://forum.cloudron.io/post/31157</link><guid isPermaLink="true">https://forum.cloudron.io/post/31157</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 11 May 2021 16:37:00 GMT</pubDate></item></channel></rss>