Demo entry 6687325

ss

   

Submitted by anonymous on Dec 28, 2017 at 02:46
Language: ABAP. Code size: 838 Bytes.

    typedef enum {  
        NGX_HTTP_POST_READ_PHASE = 0,   // 接收到完整的HTTP头部后处理的阶段  
       
        NGX_HTTP_SERVER_REWRITE_PHASE,  // URIlocation匹配前,修改URI的阶段,用于重定向  
       
        NGX_HTTP_FIND_CONFIG_PHASE,     // 根据URI寻找匹配的location块配置项  
        NGX_HTTP_REWRITE_PHASE,         // 上一阶段找到location块后再修改URI  
        NGX_HTTP_POST_REWRITE_PHASE,    // 防止重写URL后导致的死循环  
       
        NGX_HTTP_PREACCESS_PHASE,       // 下一阶段之前的准备  
       
        NGX_HTTP_ACCESS_PHASE,          // HTTP模块判断是否允许这个请求进入Nginx服务器  
        NGX_HTTP_POST_ACCESS_PHASE,     // 向用户发送拒绝服务的错误码,用来响应上一阶段的拒绝  
       
        NGX_HTTP_TRY_FILES_PHASE,       // 为访问静态文件资源而设置  
        NGX_HTTP_CONTENT_PHASE,         // 处理HTTP请求内容的阶段,大部分HTTP模块介入这个阶段  
       
        NGX_HTTP_LOG_PHASE              // 处理完请求后的日志记录阶段  
    } ngx_http_phases;  

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).