diff --git a/rootfs/etc/nginx/template/nginx.tmpl b/rootfs/etc/nginx/template/nginx.tmpl index 4cf441d..e477e23 100755 --- a/rootfs/etc/nginx/template/nginx.tmpl +++ b/rootfs/etc/nginx/template/nginx.tmpl @@ -660,10 +660,6 @@ http { } } - location /deny_reload_data { - content_by_lua_file /etc/nginx/lua/load_deny.lua; - } - # for health check on alibaba location = /status.tengine { root /etc/nginx/htdocs; @@ -678,17 +674,6 @@ http { deny all; req_status_show; } - - location = /nginx_status { - allow 10.0.0.0/8; - allow 11.0.0.0/8; - allow 172.16.0.0/12; - allow 127.0.0.1/32; - allow 192.168.0.0/16; - allow 33.0.0.0/8; - deny all; - stub_status on; - } } } @@ -1576,16 +1561,6 @@ stream { access_log off; req_status_show; } - - location /deny_reload_data { - {{ if $all.Cfg.EnableOpentracing }} - opentracing off; - {{ end }} - - sysguard off; - access_log off; - content_by_lua_file /etc/nginx/lua/load_deny.lua; - } {{ end }} {{ end }}