Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
fix decscription
Browse files Browse the repository at this point in the history
  • Loading branch information
yang.yang committed Mar 5, 2018
1 parent cbc7661 commit 829206d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ $ curl 127.0.0.1:8080/ -H "Host: node-dev.example.com"
hello world
```

Load a loa script
Load a lua script

```
$ curl 127.0.0.1:1995/lua/script.node-dev.example.com -d 'if ngx.get_method() == "DELETE" then return ngx.exit(403) end'
$ curl 127.0.0.1:1995/lua/script.node-dev.example.com -d 'if ngx.req.get_method() == "DELETE" then return ngx.exit(403) end'
"ok"
$ curl -XPUT 127.0.0.1:1995/lua/script.node-dev.example.com
```
Expand Down

0 comments on commit 829206d

Please sign in to comment.