Files
nginx-unit/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app
2018-04-02 15:48:33 +03:00

8 lines
158 B
Plaintext

app = Proc.new do |env|
['200', {
'Content-Type' => 'text/plain',
}, ["Hello from Unit running with Ruby #{RUBY_VERSION}!\n\n"]]
end
run app