Skip to content

Instantly share code, notes, and snippets.

@FernandoEscher
Created June 20, 2012 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FernandoEscher/2960741 to your computer and use it in GitHub Desktop.
Save FernandoEscher/2960741 to your computer and use it in GitHub Desktop.
Directive to work with applications using Passenger, Nginx and RVM
server {
listen 80;
server_name juegoaprendo.hn www.juegoaprendo.hn ccepreb.hn www.ccepreb.hn ccepreb.fernandoirias.com;
root /opt/projects/ccepreb/current/public; # <--- be sure to point to 'public'!
passenger_enabled on;
client_max_body_size 50M;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment