访问域名报如下错误

Bad Request
Your browser sent a request that this server could not understand.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.Apache Server at xxx.com Port 80

Stack Overflow上搜的回答

In my case, it's actually the underscore _ in DocumentRoot that causes problem and hours of debugging. All work fine once I remove it from my DocumentRoot path.

简言之,有可能是配置中存在错误,是否存在“_”。

我是upstream名称中用了”_”,去掉,重启nginx就可以访问了。

原回答见:https://stackoverflow.com/questions/43925672/bad-request-your-browser-sent-a-request-that-this-server-could-not-understand

Your browser sent a request that this server could not understand. Additionally, a 400 Bad Request e相关推荐

  1. php curl 400 bad request怎么解决,关于json:file_get_contents抛出400 Bad Request错误PHP

    我只是使用file_get_contents()来获取来自这样的用户的最新推文: $tweet = json_decode(file_get_contents('http://api.twitter. ...

  2. Bad Request:Your browser sent a request that this server could not understand.

    在一个网站重复提交大量任务的时候,报错: 从网上查询后解决办法,删除浏览器中cookie的记录,网站就又可以投递任务.在此记录一下

  3. 新版burpsuite出现不支持HTTP2的 400 Bad Request报错

    浏览器报错内容: Your browser sent a request that this server could not understand. Error code: 35 Parser Er ...

  4. in on_json_loading_failed ==> raise BadRequest() ==> werkzeug.exceptions.BadRequest: 400 Bad Request

    现象: in on_json_loading_failed ==> raise BadRequest() ==> werkzeug.exceptions.BadRequest: 400 B ...

  5. SpringMVC绑定ajax传递json数据到pojo对象错误(400 Bad Request)

    问题如标题所述,ajax向SpringMVC Controller传递JSON数据,遇到了错误"Failed to load resource: the server responded w ...

  6. Nginx 400 Bad Request

    400 Bad Request是一种HTTP错误状态码.HTTP/1.1对400 Bad Request的定义主要是:1.语义有误,当前请求无法被服务器理解.除非进行修改,否则客户端不应该重复提交这个 ...

  7. Request Connection: Remote Server @ 192.229.145.200:80

    录制Loadrunner脚本时,提示: Request Connection: Remote Server @ 192.229.145.200:80   NOT INTERCEPTED!(REASON ...

  8. 网站错误记录:A transport-level error has occurred when sending the request to the server.

    今天查看公司项目的日志文件,发现有这个错误:A transport-level error has occurred when sending the request to the server. 感 ...

  9. ASP.NET中Request.ApplicationPath、Request.FilePath、Request.Path、.Request.MapPath、Server.MapPath的区别

    ASP.NET中Request.ApplicationPath.Request.FilePath.Request.Path..Request.MapPath.Server.MapPath的区别 1.R ...

最新文章

  1. 冒号课堂§4.3:汇总范式
  2. 【Flutter】Flutter Gallery 官方示例简介 ( 学习示例 | 邮件应用 | 零售应用 | 理财应用 | 旅行应用 | 新闻应用 | 自适应布局应用 )
  3. 一点一滴培养你的领袖气质
  4. VC++简单实现工具软件随鼠标移动画线的功能
  5. 看完这篇文章保你面试稳操胜券——Vue篇
  6. python 定义method_python进阶14:实例方法和类方法、types.MethodType()
  7. 以毒攻毒Fight Fire with Fire: Towards Robust Recommender Systems via Adversarial Poisoning Training论文解读
  8. birt报表的行隐藏和列隐藏以及分组显示
  9. Lecture 7:策略梯度
  10. python做一个微型美颜图片处理器,十行代码即可完成
  11. 如何监控网页卡顿和崩溃?
  12. 微信小程序 一键授权 给第三方平台代开发管理(一,创建第三方平台)
  13. python 数据shape的理解
  14. Jordan标准形(番外篇)——线性变换可对角化和最小多项式的关系
  15. 建设“智慧城市”、“智慧社区”远程控制开关智能微型断路器哪家好?——安科瑞 严新亚
  16. NLTK词性pos_tag的含义
  17. Google的招聘问题
  18. 智能控制matlab程序,智能算法的Matlab仿真程序及教程
  19. php养老院管理系统论文,基于Web的养老院管理系统的设计任务书
  20. matlab布尔代数运算法则,布尔代数法则.pdf

热门文章

  1. SIFT--尺度空间、高斯金字塔
  2. Python转exe方法与_MEI清除方法
  3. ES6使用Set方法进行数组去重
  4. t2021121002回文
  5. opencv 学习笔记(十四) grabCut
  6. 网络安全学习日记DAY1-基础知识
  7. 干货分享:AI绘图学习心得-Midjourney绘画AI,让你的AI绘画之路少走弯路
  8. wooyun常见ssrf总结+常见ssrf绕过姿势
  9. 【计算机图形学】Embedded Deformation for shape manipulation在嵌入空间中变形
  10. swfupload提示“错误302”的解决方法