Rails production with puma and nginx puma.sock missing
<p>I'm setting up my rails production server on digital ocean with puma and nginx.</p>

<p>Following tutotials I have entered this in my /etc/nginx/sites-available/default</p>

<pre><code>server unix:/home/deploy/appname/shared/sockets/puma.sock fail_timeout=0;
</code></pre>

<p>But on the server the folder home/deploy/appname/shared/sockets/ is empty.</p>

<p>I double checked the tutorials and none of them mentions creating such file.</p>

<p>If I run <code>ps aux | grep puma</code>I get</p>

<blockquote>
  <p>root      2076  0.0  0.3  52992  3544 pts/0    T    05:51   0:00 sudo
  nano require capistrano/puma root      2077  0.0  0.3  23872  3888
  pts/0    T    05:51   0:00 nano require capistrano/puma rails     2407
  0.0  0.0  14484  1012 pts/0    S+   06:38   0:00 grep puma</p>
</blockquote>

<p>which it doesn't really makes sense to me as I'm not using capistrano.</p>

<p>My question is. How is puma.sock created? During puma installation? What step have I missed if that directory is empty?</p>