Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
lua_resolver is not available any more
  • Loading branch information
fffonion committed Sep 14, 2017
1 parent eb8b6b6 commit a612e51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Synopsis

```
stream {
lua_resolver 8.8.8.8;
init_worker_by_lua_block {
sni_rules = {
{"www.google.com", "www.google.com", 443},
Expand All @@ -50,6 +49,9 @@ stream {
server {
error_log /var/log/nginx/sniproxy-error.log error;
listen 443;
resolver 8.8.8.8;
content_by_lua_block {
local sni = require("resty.sniproxy")
local sp = sni:new()
Expand Down

0 comments on commit a612e51

Please sign in to comment.