mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-05 05:27:35 +08:00
chore: don't run *_phase for Admin/Control API (#4266)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
parent
adb76de293
commit
cf483c610e
@ -299,13 +299,6 @@ http {
|
||||
location @50x.html {
|
||||
set $from_error_page 'true';
|
||||
try_files /50x.html $uri;
|
||||
header_filter_by_lua_block {
|
||||
apisix.http_header_filter_phase()
|
||||
}
|
||||
|
||||
log_by_lua_block {
|
||||
apisix.http_log_phase()
|
||||
}
|
||||
}
|
||||
}
|
||||
{% end %}
|
||||
@ -388,13 +381,6 @@ http {
|
||||
location @50x.html {
|
||||
set $from_error_page 'true';
|
||||
try_files /50x.html $uri;
|
||||
header_filter_by_lua_block {
|
||||
apisix.http_header_filter_phase()
|
||||
}
|
||||
|
||||
log_by_lua_block {
|
||||
apisix.http_log_phase()
|
||||
}
|
||||
}
|
||||
}
|
||||
{% end %}
|
||||
|
Loading…
Reference in New Issue
Block a user