<?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[App proxy with internal IP does not replace IP in html code]]></title><description><![CDATA[<p dir="auto">So I have a box directly connected to my cloudron box, 10.0.0.1-10.0.0.2 ip with a simple webserver serving pages and images.</p>
<p dir="auto">I install an app proxy app on my cloudron using the app url (<a href="http://10.0.0.2/" target="_blank" rel="noopener noreferrer nofollow ugc">http://10.0.0.2/</a>)</p>
<p dir="auto">Now when I go to my <a href="http://app.proxydomain.com" target="_blank" rel="noopener noreferrer nofollow ugc">app.proxydomain.com</a> hosted on cloudron it loads the html nicely, but not the pictures as they are still served with the <a href="http://10.0.0.2/img.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://10.0.0.2/img.jpg</a> src in the html instead of also getting proxied to <a href="http://app.proxydomain.com/img.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://app.proxydomain.com/img.jpg</a>.</p>
<p dir="auto">Any quick way to fix this?</p>
]]></description><link>https://forum.cloudron.io/topic/8464/app-proxy-with-internal-ip-does-not-replace-ip-in-html-code</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 05:42:42 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8464.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Jan 2023 12:06:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to App proxy with internal IP does not replace IP in html code on Wed, 01 Feb 2023 10:17:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthijs" aria-label="Profile: matthijs">@<bdi>matthijs</bdi></a> that's not possible because HTML/Javascript is opaque "data" and one cannot replace things without understanding what the data is.</p>
<p dir="auto">For example, the HTML could say "Your IP is NOT xxxxx" or "Your friend is at IP yyyy" or just about anything else. There is no way to reliably replace HTML (other than the app itself).</p>
]]></description><link>https://forum.cloudron.io/post/61226</link><guid isPermaLink="true">https://forum.cloudron.io/post/61226</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 01 Feb 2023 10:17:22 GMT</pubDate></item><item><title><![CDATA[Reply to App proxy with internal IP does not replace IP in html code on Wed, 01 Feb 2023 10:03:17 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the suggestions guys but the box is actually an appliance which I have no control over. A regex replace function for the data received internally would be ideal and fix all usecases imho.</p>
]]></description><link>https://forum.cloudron.io/post/61224</link><guid isPermaLink="true">https://forum.cloudron.io/post/61224</guid><dc:creator><![CDATA[matthijs]]></dc:creator><pubDate>Wed, 01 Feb 2023 10:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to App proxy with internal IP does not replace IP in html code on Mon, 16 Jan 2023 12:25:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kubernetes" aria-label="Profile: Kubernetes">@<bdi>Kubernetes</bdi></a> said in <a href="/post/60201">App proxy with internal IP does not replace IP in html code</a>:</p>
<blockquote>
<p dir="auto">Another option would be to use relative paths for the images in the HTML.</p>
</blockquote>
<p dir="auto">yes, it is in general a good practice to use relative urls in web projects.</p>
]]></description><link>https://forum.cloudron.io/post/60202</link><guid isPermaLink="true">https://forum.cloudron.io/post/60202</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Mon, 16 Jan 2023 12:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to App proxy with internal IP does not replace IP in html code on Mon, 16 Jan 2023 12:23:19 GMT]]></title><description><![CDATA[<p dir="auto">One way to fix this would be to update the HTML on the webserver to use the proxied URL (<a href="http://app.proxydomain.com/img.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://app.proxydomain.com/img.jpg</a>) for the images, rather than the direct URL (<a href="http://10.0.0.2/img.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://10.0.0.2/img.jpg</a>).</p>
<p dir="auto">Another option would be to use relative paths for the images in the HTML.</p>
<p dir="auto">Another option would be to configure the proxy app to rewrite the URLs of the images to the proxied URL.</p>
]]></description><link>https://forum.cloudron.io/post/60201</link><guid isPermaLink="true">https://forum.cloudron.io/post/60201</guid><dc:creator><![CDATA[Kubernetes]]></dc:creator><pubDate>Mon, 16 Jan 2023 12:23:19 GMT</pubDate></item></channel></rss>