Unicorn and nginx (13: Permission denied)
<p>I am starting app with ngnix and unicorn, but in log nginx got this error </p>

<pre><code> *1 connect() to unix:/tmp/unicorn.sock failed (13: Permission denied) while connecting to upstream, client: 181.52.249.209, server: lovebeeroficial.com
</code></pre>

<p>I found similar error but Dont work for me, the file have all permission</p>

<p>I try this <a href="https://stackoverflow.com/questions/31791611/nginx-failed-13-permission-denied-when-start-rails-with-unicorn">Nginx failed (13: Permission denied) when start rails with unicorn</a> 
and <a href="https://stackoverflow.com/questions/22205263/nginx-getting-permission-denied-when-connecting-to-unicorn">Nginx getting Permission denied when connecting to Unicorn</a> </p>

<pre><code>-rwxrwxrwx. 1 azureuser azureuser    1 Feb 24 07:43 unicorn.sock
</code></pre>