FAQ

Page Discussion History

Phases

Revision as of 14:08, 20 January 2012 by Dandv (Talk | contribs)

A request handled by ngnix goes through a series of phases. Below is the list of this phases, how they can be existed, and which directives and modules apply to each phase.

NOTE: this page is still under construction

phase optional exits modules / directives
server selection* listen, server_name
post read HttpRealIpModule
server rewrite rewrite
location selection location
location rewrite location selection, finalize request rewrite
preaccess degradation, limit_zone, limit req, HttpRealIpModule
access finalize request allow, deny, auth_basic
try files location selection try_files
content autoindex, Core, DAV, EmptyGif, FastCGI, FLV, gzip_static, index, memcached, perl, proxy, random_index, scgi, stub_status, uwsgi
log access_log
post action* post_action