diff --git a/README.md b/README.md index b9ab39f..969e59b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ +resty里请求域名地址时无法使用本地的`/etc/hosts`文件,需在`nginx.conf`文件中的`http`模块内添加`resolver`配置显式指定: + +```nginx +http { + ... + resolver 8.8.8.8; + ... +} +``` + put `upload.lua` into: ```bash