Using Content-MD5 header
Manlio Perillo
manlio_perillo at libero.it
Thu Jul 24 13:32:03 MSD 2008
Valery Kholodkov ha scritto:
> Manlio Perillo wrote:
>
>> As an example:
>> 1) The module is registered for the access phase
>
> Could you please tell us more about phases? I'm not sure I understand this
> subject clearly.
>
Each HTTP request is handled via successive phases.
From src/ngx_http_core_module.h:
typedef enum {
NGX_HTTP_POST_READ_PHASE = 0,
NGX_HTTP_SERVER_REWRITE_PHASE,
NGX_HTTP_FIND_CONFIG_PHASE,
NGX_HTTP_REWRITE_PHASE,
NGX_HTTP_POST_REWRITE_PHASE,
NGX_HTTP_PREACCESS_PHASE,
NGX_HTTP_ACCESS_PHASE,
NGX_HTTP_POST_ACCESS_PHASE,
NGX_HTTP_CONTENT_PHASE,
NGX_HTTP_LOG_PHASE
} ngx_http_phases;
The ngx_http_static_module is executed at NGX_HTTP_CONTENT_PHASE.
Manlio Perillo
More information about the nginx
mailing list