passageiro nginx.conf com padrino.rb

Minha conf pessoal para nginx e passageiro com Padrino.rb

#user  nobody;
worker_processes
2;
worker_priority
-5;

error_log
(PATH YOUR APP) crit;

events
{
worker_connections
1024;
}


http
{

client_max_body_size
25m;
client_body_buffer_size
128k;
client_body_temp_path
/tmp/client_body_temp;


passenger_root
/home/ubuntu/.rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.28;
passenger_ruby
/home/ubuntu/.rvm/wrappers/ruby-2.0.0-p353/ruby;
passenger_pool_idle_time
0;
passenger_max_pool_size
15;


include mime
.types;
default_type application
/octet-stream;

server_tokens off
;
sendfile on
;
keepalive_timeout
70;

gzip on
;
gzip_http_version
1.1;
gzip_disable
"msie6";
gzip_vary on
;
gzip_min_length
1100;
gzip_buffers
64 8k;
gzip_comp_level
3;
gzip_proxied any
;
gzip_types text
/plain text/css application/x-javascript text/xml application/xml;

server
{
listen
80;
server_name landmoda
.com;
passenger_enabled on
;
root
(PATH YOUR APP)/public;
rack_env production
;

location
~* .(eot|ttf|woff)$ {

add_header
Access-Control-Allow-Origin *;
}

access_log
/dev/null;
error_log
/dev/null;
}
}