<?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[Automatically add TRUSTED_PROXIES to config file]]></title><description><![CDATA[<p dir="auto">I just installed osTicket. I was checking the "System Logs" section on the admin panel of osTicket, where it showed the IP address of the reverse proxy server instead of the original IP of the client's device.</p>
<p dir="auto">Looking at the docs, I discovered a setting called <code>TRUSTED_PROXIES</code> which was supported by osTicket. Setting the IP address of the reverse proxy there would fix the problem.</p>
<p dir="auto">The config file is located at <code>/app/data/ost-config.php</code> and accessible from the app's file manager. Cloudron could set that variable when the app is configured for the first time.</p>
<pre><code class="language-php">#define('TRUSTED_PROXIES', '');
define('TRUSTED_PROXIES', '172.18.0.1');
</code></pre>
<p dir="auto">Impact of the issue: Recording the reverse proxy's IP address could result in delayed or unsuccessful forensics in case of trouble.</p>
]]></description><link>https://forum.cloudron.io/topic/4041/automatically-add-trusted_proxies-to-config-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 21:20:12 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4041.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Dec 2020 14:13:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Automatically add TRUSTED_PROXIES to config file on Mon, 21 Dec 2020 17:38:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nj" aria-label="Profile: nj">@<bdi>nj</bdi></a> Thanks for reporting, I have fixed this in the latest package.</p>
]]></description><link>https://forum.cloudron.io/post/22168</link><guid isPermaLink="true">https://forum.cloudron.io/post/22168</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 21 Dec 2020 17:38:57 GMT</pubDate></item></channel></rss>