Запуск ruby скриптов

upstream unicorn {
   server unix:/var/run/unicorn.sock fail_timeout=0;
}
server {
 
                listen [[IP]]:80;
                client_max_body_size 1G;
                keepalive_timeout 5;
                server_name [[DOMAIN]];
                root /home/[[DOMAIN]]/httpdocs/current/public;
 
                access_log /var/log/nginx/[[DOMAIN]].access.log;
                error_log  /var/log/nginx/[[DOMAIN]].error.log error;
 
                charset utf-8;
 
                try_files $uri/index.html $uri.html $uri @myapp;
 
                location @myapp {
                    proxy_pass http://unicorn;
                    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                    proxy_set_header Host $http_host;
                    proxy_redirect off;
                }
 
                error_page 500 502 503 504 /500.html;
                location = /500.html {
                  root /home/[[DOMAIN]]/httpdocs/current/public;
                }
 
                location / {
                        #auth_basic "Website development";
                        #auth_basic_user_file /home/[[DOMAIN]]/authfile;
                }
}