504 Gateway Time-out nginx on digitalocean
<p>On digitalocean nginx server I ran following command on terminal</p>

<pre><code>sudo chown -R user:user /var/www/example.com/public_html
</code></pre>

<p>Now after that I started facing 504 Gateway Time-out Error. I have to restart php5-fpm again and again after few minutes to fix this issue. But after few minuts it shows same 504 Gateway Time-out Error.</p>

<p>Please guide me how can I fix this issue.</p>