This commit is contained in:
midoks
2023-08-11 01:11:45 +08:00
parent cc3fa8ac95
commit 175061884d
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ end
function waf()
if server_name =="unset" then ngx.exit(403) end
if server_name == "unset" then ngx.exit(403) end
min_route()
-- C:D("min_route")
+2
View File
@@ -360,7 +360,9 @@ end
function _M.return_html(self, status, html)
ngx.header.content_type = "text/html"
ngx.header.Cache_Control = "no-cache"
status = tonumber(status)
-- self:D("return_html:"..tostring(status))
if status == 200 then
ngx.say(html)