Permalink
Browse files

Update README.md

lua_resolver is not available any more
  • Loading branch information...
fffonion committed Sep 14, 2017
1 parent eb8b6b6 commit a612e51e771701e1ff4abdd882206810843b810f
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
@@ -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},
@@ -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()

0 comments on commit a612e51

Please sign in to comment.