Fix typo in phases list in plugin.lua

This commit is contained in:
Théophile Diot 2023-05-29 17:54:18 -04:00
parent 5fa21b3c89
commit 474ecbb41e
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ function plugin:initialize(id)
self.id = id
local multisite = false
local current_phase = ngx.get_phase()
for i, check_phase in ipairs({ "set", "access", "content", "header", "log", "preread", "log_stream", "log_default" }) do
for i, check_phase in ipairs({ "set", "access", "content", "header_filter", "log", "preread", "log_stream", "log_default" }) do
if current_phase == check_phase then
multisite = true
break