<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel Selinger</title>
    <description>The latest articles on DEV Community by Daniel Selinger (@lingam247).</description>
    <link>https://dev.to/lingam247</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F12932%2Fa426a731-f39c-4276-b2fc-4c0ed619c698.jpeg</url>
      <title>DEV Community: Daniel Selinger</title>
      <link>https://dev.to/lingam247</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lingam247"/>
    <language>en</language>
    <item>
      <title>Run Contao CMS behind a NGINX proxy with SSL enabled</title>
      <dc:creator>Daniel Selinger</dc:creator>
      <pubDate>Wed, 26 Jan 2022 19:48:38 +0000</pubDate>
      <link>https://dev.to/lingam247/contao-behind-a-nginx-proxy-with-ssl-enabled-kc0</link>
      <guid>https://dev.to/lingam247/contao-behind-a-nginx-proxy-with-ssl-enabled-kc0</guid>
      <description>&lt;p&gt;This applies to Contao 4.x&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Add this code snippet into your /web/app.php &lt;/span&gt;
&lt;span class="c1"&gt;// respectively the index.php&lt;/span&gt;
&lt;span class="c1"&gt;// x.x.x.x being the IP of your proxy.&lt;/span&gt;
&lt;span class="c1"&gt;// You can also check this issue here for some more directions&lt;/span&gt;
&lt;span class="c1"&gt;// https://github.com/contao/core/issues/8826&lt;/span&gt;
&lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;setTrustedProxies&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="s1"&gt;'x.x.x.x'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>php</category>
      <category>contao</category>
      <category>symfony</category>
      <category>nginx</category>
    </item>
  </channel>
</rss>
