Professional Documents
Culture Documents
Suppose you have a Ruby on Rails application in /somewhere. Add a server block to your Nginx con iguration ile! set its root to /somewhere/public! and set "passenger#enabled on"! like this:
server $ listen %&' server#name www.yourhost.com' root /somewhere/public' ( )*** be sure to point to "public"+ passenger#enabled on' ,
And that"s it+ -ou may also want to check the .sers /uide or security and optimi0ation tips and other use ul in ormation: