This is an automated email from the ASF dual-hosted git repository.

tanjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git


The following commit(s) were added to refs/heads/master by this push:
     new 32e0252  remove the wrong directive in Nginx example (#62)
32e0252 is described below

commit 32e02528b874567e7cca49b7a45b8273de7e1429
Author: minquan chen <[email protected]>
AuthorDate: Wed Jan 13 15:27:41 2021 +0800

    remove the wrong directive in Nginx example (#62)
    
    * remove L50-51
    
    * delete these lines:
    
    # This is for local dev only, please do not add this in any production env.
            lua_code_cache off;
    
    * delete these lines in README.md
    
        server {
            listen 8080;
---
 README.md           | 3 +--
 examples/nginx.conf | 6 ++----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 7edf1da..d3f180a 100644
--- a/README.md
+++ b/README.md
@@ -39,8 +39,7 @@ http {
         require("skywalking.client"):startBackendTimer("http://127.0.0.1:8080";)
     }
 
-    server {
-        listen 8080;
+
 
         location /ingress {
             default_type text/html;
diff --git a/examples/nginx.conf b/examples/nginx.conf
index c3a7d41..0039bc8 100644
--- a/examples/nginx.conf
+++ b/examples/nginx.conf
@@ -47,11 +47,9 @@ http {
         -- require("skywalking.client"):destroyBackendTimer()
     }
 
-    server {
-        listen 8080;
 
-        # This is for local dev only, please do not add this in any production 
env.
-        lua_code_cache off;
+
+
 
         location /ingress {
             default_type text/html;

Reply via email to