Merge 3f13a5c133
into 314a2f62ec
commit
8039babca2
2
init.lua
2
init.lua
|
@ -67,7 +67,7 @@ ckrules=read_rule('cookie')
|
||||||
|
|
||||||
function say_html()
|
function say_html()
|
||||||
if Redirect then
|
if Redirect then
|
||||||
ngx.header.content_type = "text/html"
|
ngx.header.content_type = "text/html; charset=UTF-8"
|
||||||
ngx.status = ngx.HTTP_FORBIDDEN
|
ngx.status = ngx.HTTP_FORBIDDEN
|
||||||
ngx.say(html)
|
ngx.say(html)
|
||||||
ngx.exit(ngx.status)
|
ngx.exit(ngx.status)
|
||||||
|
|
Loading…
Reference in New Issue