Groups
Groups
Sign in
Groups
Groups
openresty-en
Conversations
Labels
About
Send feedback
Help
Understanding Phase Order
837 views
nginx
openresty
Skip to first unread message
bclod
unread,
Feb 17, 2016, 6:04:26 PM
2/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty-en
Hello All,
I am trying to make sure I understand all phasing order of lua-nginx-module as it relates to nginx phases.
From lua-nginx-module I have found the following phases listed from readme. I assume these are in order of execution. Can someone help confirm this?
loading-config
starting-worker
rewrite
content
rewrite tail
access tail
output-header-filter
output-body-filter
log
From agentzh's awesome nginx tutorial
https://openresty.org/download/agentzh-nginx-tutorials-en.html#02-nginxdirectiveexecorder08
he defines 11 total nginx phases. For the most part the order seems similar.
post-read
server-rewrite
find-config
rewrite
post-rewrite
preaccess
access
post-access
try-files
content
log
Reply all
Reply to author
Forward
0 new messages