update doc and example (#80)
diff --git a/README.md b/README.md
index 9d133c1..cf87154 100644
--- a/README.md
+++ b/README.md
@@ -45,8 +45,9 @@
skywalking_tracer = require("skywalking.tracer")
}
-
-
+ server {
+ listen 8090;
+
location /ingress {
default_type text/html;
@@ -109,7 +110,7 @@
### Local Development and Unit Tests
All codes in the `lib/skywalking` require the `*_test.lua` to do the UnitTest. To run that, you need to install
-- Lua 5.3
+- Lua 5.1
- LuaRocks
The following libs are required in runtime or test cases, please use `LuaRocks` to install them.
diff --git a/examples/nginx.conf b/examples/nginx.conf
index 3c6da29..145bebd 100644
--- a/examples/nginx.conf
+++ b/examples/nginx.conf
@@ -55,9 +55,8 @@
skywalking_tracer = require("skywalking.tracer")
}
-
-
-
+ server {
+ listen 8090;
location /ingress {
default_type text/html;