It was designed to be the go-to server for Rubinius, but also works well with JRuby and MRI. Puma ( Github Page) is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications, and is considered the replacement for Webrick and Mongrel. Puma (with Nginx as reverse proxy server) Rails_env development # Rails environment. Root path_to_app/public # Be sure to point to 'public' folder! To serve an application with Nginx, configure it as follows: The installer will provide you with any additional information regarding the installation (such as installing additional libraries). In case a rails application is deployed with a sub-URI, like, some additional configuration is required, see the Passenger documentationįor Nginx, install the nginx-mod-passenger package (if passenger is not installed from gem), and run: If you are aiming to use Apache HTTP Server, install the mod_passenger package (if passenger is not installed from gem), and run:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |