I have followed this link to configure nginx with puma but when I start the server with
bundle exec puma -e development -b unix:///var/run/my_app.sock
it throws Permission denied - "/var/run/my_app.sock" (Errno::EACCES) error.

but when I start the server with bundle exec puma -e development
it is started with tcp://0.0.0.0:9292

my_app.sock file does not exist in /var/run/

how do I start the server with unix socket and access the application through the domain name given in the my_app.conf file.

Can you please anyone help me?.

Edit
Report