<?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[Topics tagged with nginx]]></title><description><![CDATA[A list of topics that have been tagged with nginx]]></description><link>https://lankadevelopers.lk/tags/nginx</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 02:13:43 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/tags/nginx.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[කොහොමද Nginx ෆයිල් රුට් එකක් Rewrite කරගන්නේ]]></title><description><![CDATA[<p dir="auto">ahh oka nginx location { } eken serve karanna , nathnam sudomain ekak denna</p>
]]></description><link>https://lankadevelopers.lk/topic/847/ක-හ-මද-nginx-ෆය-ල-ර-ට-එකක-rewrite-කරගන-න</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/847/ක-හ-මද-nginx-ෆය-ල-ර-ට-එකක-rewrite-කරගන-න</guid><dc:creator><![CDATA[root]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to secure my Woocommerce site in Nginx server ?]]></title><description><![CDATA[<p dir="auto">Thnaks yo very much <a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/27">@root</a> , this is awesome</p>
]]></description><link>https://lankadevelopers.lk/topic/141/how-to-secure-my-woocommerce-site-in-nginx-server</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/141/how-to-secure-my-woocommerce-site-in-nginx-server</guid><dc:creator><![CDATA[lkdev]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Nginx: connect() failed (111: Connection refused) while connecting to upstream]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/130">@lkdev</a> said in <a href="/post/489">Nginx: connect() failed (111: Connection refused) while connecting to upstream</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/526">@crxssrazr93</a> said in <a href="/post/479">Nginx: connect() failed (111: Connection refused) while connecting to upstream</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/130">@lkdev</a></p>
<p dir="auto">Make sure php-fpm is already running on the background...</p>
<p dir="auto">Then, change your listen 80; to listen 127.0.0.1; .</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1">@ciaompe</a> said in <a href="/post/481">Nginx: connect() failed (111: Connection refused) while connecting to upstream</a>:</p>
<blockquote>
<p dir="auto">Simply, open the following path to your php5-fpm (if you php 7 then open php 7 fpm)</p>
<p dir="auto">Php 5</p>
sudo nano /etc/php5/fpm/pool.d/www.conf

<p dir="auto">Php 7</p>
sudo nano /etc/php/7.2/fpm/pool.d/www.conf

<p dir="auto">Then find this line and uncomment it:</p>
listen.allowed_clients = 127.0.0.1

<p dir="auto">Also comment below line</p>

<p dir="auto">Php 5</p>
;listen = /var/run/php5-fpm.sock 

<p dir="auto">Php 7</p>
;listen = /run/php/php7.2-fpm.sock

<p dir="auto">and add</p>

listen = 9000

after you make the modifications, all you need to restart or reload both Nginx and Php fpm
<p dir="auto">Php 5</p>
sudo service php5-fpm restart

<p dir="auto">Php 7</p>
sudo service php7.2-fpm restart

<p dir="auto">Nginx</p>
sudo service nginx restart

</blockquote>
<p dir="auto">Guys this works. thanks aganin and lankadevelopers thank you very much</p>
</blockquote>
<p dir="auto">Anytime mate xD</p>
]]></description><link>https://lankadevelopers.lk/topic/73/nginx-connect-failed-111-connection-refused-while-connecting-to-upstream</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/73/nginx-connect-failed-111-connection-refused-while-connecting-to-upstream</guid><dc:creator><![CDATA[crxssrazr93]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>