zoukankan      html  css  js  c++  java
  • nginx响应码

    ngx.status = ngx.HTTP_CONTINUE (100) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_SWITCHING_PROTOCOLS (101) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_OK (200)
    ngx.status = ngx.HTTP_CREATED (201)
    ngx.status = ngx.HTTP_ACCEPTED (202) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_NO_CONTENT (204) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_PARTIAL_CONTENT (206) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_SPECIAL_RESPONSE (300)
    ngx.status = ngx.HTTP_MOVED_PERMANENTLY (301)
    ngx.status = ngx.HTTP_MOVED_TEMPORARILY (302)
    ngx.status = ngx.HTTP_SEE_OTHER (303)
    ngx.status = ngx.HTTP_NOT_MODIFIED (304)
    ngx.status = ngx.HTTP_TEMPORARY_REDIRECT (307) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_BAD_REQUEST (400)
    ngx.status = ngx.HTTP_UNAUTHORIZED (401)
    ngx.status = ngx.HTTP_PAYMENT_REQUIRED (402) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_FORBIDDEN (403)
    ngx.status = ngx.HTTP_NOT_FOUND (404)
    ngx.status = ngx.HTTP_NOT_ALLOWED (405)
    ngx.status = ngx.HTTP_NOT_ACCEPTABLE (406) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_REQUEST_TIMEOUT (408) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_CONFLICT (409) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_GONE (410)
    ngx.status = ngx.HTTP_UPGRADE_REQUIRED (426) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_TOO_MANY_REQUESTS (429) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_CLOSE (444) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_ILLEGAL (451) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_INTERNAL_SERVER_ERROR (500)
    ngx.status = ngx.HTTP_METHOD_NOT_IMPLEMENTED (501)
    ngx.status = ngx.HTTP_BAD_GATEWAY (502) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_SERVICE_UNAVAILABLE (503)
    ngx.status = ngx.HTTP_GATEWAY_TIMEOUT (504) (first added in the v0.3.1rc38 release)
    ngx.status = ngx.HTTP_VERSION_NOT_SUPPORTED (505) (first added in the v0.9.20 release)
    ngx.status = ngx.HTTP_INSUFFICIENT_STORAGE (507) (first added in the v0.9.20 release)

    ngx.exit(ngx.status)

  • 相关阅读:
    .net framework 3.5 dotNetFx35setup 能不需要网络支持吗? 
    Android API Differences Report
    Android用户版本分布更新 2.1版领先
    Adobe升级Flash回击批评:流畅播放手机视频
    iPhone OS4.0,Android 2.1和WP7对比分析
    Android 2.2数据共享功能开启与否将由运营商自主决定
    谷歌 Android 3.0计划四季度推出:代号姜饼
    谷歌称Android设备日激活量已达10万台
    iPod Touch也将支持运行Android系统
    Android2.2 SDK正式提供下载
  • 原文地址:https://www.cnblogs.com/koushr/p/9333908.html
Copyright © 2011-2022 走看看