Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## rack.ru [ruby]
- use Rack::CommonLogger
- use Rack::ShowExceptions
- map "/flytrap" do
- use Rack::Lint
- headers = {
- 'Content-Type' => 'text/plain',
- 'Content-Length' => '2'
- }
- lambda {|env| [200, headers, 'Hi']}
- end
- ## thin.yml [yaml]
- ---
- log: log/thin.log
- pid: tmp/thin.pid
- address: 127.0.0.1
- port: 80
- servers: 1
- rackup: config/rack.ru
Add Comment
Please, Sign In to add comment