Using Thin and Passenger at the same time

March 19, 2015 929 views
Sinatra Ruby Nginx Debian

I have the simple Sinatra chat demo from their repository with a few modifications:


and I have a Reverse Proxy setup with Passenger.

The problem is that when I run the app, None of my messages send, which seems to be that Thin isn't being used. Unless There is a very simple tutorial on how to set-up this app with Thin on Nginx(Googling shows lots of tutorials that are big hassles/not What I want) I want to know if its possible to run Passenger and Thin at the same time(Thin via the actual gem).

This is what I need:
App listen on on chat.stackin.money
root of the folder is /var/www/chat/public;

Be the first one to answer this question.