作者:张岩峰,转载请注明出处     笔名:云烟旧梦

51CTO课程地址:https://edu.51cto.com/lecturer/12750547.html    Linux技术交流群:1127825548


生产环境常见HTTP状态码列表(List of HTTP status codes)为:

200  ok,服务器成功返回网页

        Standard response for successful HTTP requests。


301  Moved Permanently(永久跳转),请求的网页已永久跳转到新位置。

        This and all future requests should be directed to the given。


403  Forbidden(禁止访问),服务器拒绝请求

        forbidden request (matches a deny filter) => HTTP 403

The request was a legal request,but the server is refusing to respond to it。


404  Not Found,服务器找不到请求的页面。

        The requested resource could not be found but may be available again in the future。


500  Internal Server Error(内部服务器错误)

        internal error in haproxy  =>  HTTP 500

A generic message,given when no more specific message is suitable。


502  Bad Gatway(坏的网关),一般是网关服务器请求后端服务时,后端服务没有按照http协议正确返回结果。

        the server returned an invalid or incomplete response  =>  HTTP 502


503  Service Unavailable (服务当前不可用),可能因为超载或停机维护

        no server was available to handle the request  =>  HTTP 503

The server is currently unavailable (because it is overload or down for maintenance)

504  Getway Timeout(网关超时),一般是网关服务器请求后端服务时,后端服务没有在特定的时间内完成服务。

        the server failed to reply in time  =>  HTTP 504

The server was acting as a gateway or proxy and did not receive a timely response from the upstream server。


©著作权归作者所有:来自51CTO博客作者云烟旧梦的原创作品,如需转载,请注明出处,否则将追究法律责任

如果文章对你有帮助,请赞赏

赞赏

0人进行了赞赏支持

更多相关文章

  1. Terraform的一次排错记录
  2. 网站使用云服务器有什么好处?
  3. WEB服务器参数优化配置模版
  4. Linux主要应用范围有哪些?Linux学习
  5. 自动修改centos服务器IP地址
  6. 【欣赏中华武术】SpringCloud 2.x之网关Spring Cloud Gateway
  7. 手把手从0开始教你搭建Jumpserver,为服务器安全保驾护航!
  8. 大规模分布式系统资源管理(一)
  9. 强大!Nginx 配置在线一键生成“神器”

随机推荐

  1. 【转】android 图片自动切换
  2. [置顶] Android学习之lowmemorykiller dr
  3. Binder框架 -- android AIDL 的使用
  4. Android logcat log size -- Android log
  5. Android 之 GrideView网格视图
  6. android windowSoftInputMode
  7. android view 局部刷新
  8. Android 无闪烁启动画面程序源码
  9. Android 可编辑下拉选择框
  10. Android之增强文本框(TextInputEditText)