mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
16 lines
523 B
Text
16 lines
523 B
Text
#####################################################################
|
|
|
|
Please edit your nginx configuration file, and add these lines:
|
|
|
|
server {
|
|
root %%PASSENGER_INSTALL_DIR%%;
|
|
passenger_enabled on;
|
|
passenger_ruby %%RUBY%%;
|
|
passenger_sticky_sessions on;
|
|
}
|
|
|
|
After you restart nginx, you are ready to deploy any number of Ruby on Rails
|
|
applications on nginx, without any further Ruby on Rails-specific
|
|
configuration!
|
|
|
|
#####################################################################
|