KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to deploy a simple Ruby Rack service with NGINX. I read various things on the internet, none of which were helpful enough. Lets say I have this (in reality it's a bit more complex but still < 200 lines of code service): require 'rack' class HelloWorld def call(env) [200, {"Content-Type" => "text/plain"}, ["Hello world!"]] end end Rack::Handler::Mongrel.run HelloWorld, Port: 9292 I'd like to know what would be the best way to deploy this with NGINX. Maybe FCGI or something else?
Tags (comma-separated)
Save Edits
Cancel