From the rack specification:
A Rack application is a Ruby object (not a class) that answers a call. It takes exactly one argument, the environment, and returns an array of three values: status, headers, and body.
pratice config.ru. rails, . config/environment.rb, config/application.rb, boot.rb, . .
, , . index.php.
config.ru( ) . Phusion Passenger, apache nginx, config.ru , .
. Ruby apache/nginx, -, , CGI.
-