I want to set up rails to use Nginx instead of WEBrick by default when I use $rails server
From my googling, it seems that this could possibly be done via. Rack. If so, where is the directory for the Rack file? Or maybe it can be done with Nginx config files?
Could anyone please help me with this setup? I am using Rails 4.2, Ruby 2.1.5, Nginx 1.4.6, Ubuntu 14.04
or.... Is there a terminal command to start the app with nginx? ie. instead of $rails s, something else that will load the web app on localhost:3000