Nginx processing request phase 11

Nginx whole process is divided into a total processing request 11 stages (FIG.), In stages are sequentially performed from top to bottom  ( all instructions after the execution stage, before entering the next stage )

The various stages of the following meanings:

² post-read:  receiving a complete http period after the treatment head, uri before rewriting. General skip 

² server-rewrite: before the match location, modify uri stage, additional instructions for rewriting redirection, location block ( multiple times

² find-config: uri location for a matching block configuration items ( repeatedly

² rewrite:  to find the location a block and then modify the uri , location level uri rewrite phase ( multiple times

² post-rewrite: preventing an endless loop, jump to a corresponding stage 

² preaccess:  Permissions pretreatment

² access:  determining whether to allow the request to enter

² post-access:  transmitting service denied error code to the user, in response to a phase of the reject

² try-files:  access static resource files

² content:  content generator stage which generates a response sent to the client 

² log:  record access log

 

 

Guess you like

Origin www.cnblogs.com/Soy-technology/p/11355616.html