aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-10-26 01:05:24 +0900
committerKazuki Yamaguchi <k@rhe.jp>2015-10-26 01:05:24 +0900
commit128b674e8f9f43d393484afdf24cfa050637331a (patch)
tree8fe65e7a2feff6112aa1dc67eab7dd09a58d0c87 /README.md
parentd1d45416d381b22add9af90ae615bbb1dd89c157 (diff)
downloadplum-128b674e8f9f43d393484afdf24cfa050637331a.tar.gz
update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 204169f..a138b44 100644
--- a/README.md
+++ b/README.md
@@ -17,11 +17,11 @@ A minimal pure Ruby implementation of HTTP/2 library / server.
* [rhenium/plum-server](https://github.com/rhenium/plum-server) - A static-file server for https://rhe.jp and http://rhe.jp.
### As a Rack-compatible server
-Insert `require "plum/rack"` to your `config.ru`
-```ruby
-require "plum/rack"
+Most existing Rack-based applications (plum doesn't support Rack hijack API) should work without modification.
+```ruby
+# config.ru
App = -> env {
[
200,
@@ -33,7 +33,7 @@ App = -> env {
run App
```
-Then run it with:
+You can run it:
```sh
% plum -e production -p 8080 --https config.ru