来源:蜘蛛抓取(WebSpider)
时间:2016-05-02 11:19
标签:
nginx auth request
我得网站打不开是怎么回事我的网址zwbj110打开之后就显示400 Bad Request nginx,就出这个页面_百度知道
我得网站打不开是怎么回事我的网址zwbj110打开之后就显示400 Bad Request nginx,就出这个页面
问大家,还是域名的是,求职大家帮分析分析,这是我电话,是网站的是,是怎么回事网站和域名是两个公司的
我有更好的答案
是网站的事 你留下QQ吧我把详情跟你说下
其他类似问题
为您推荐:
nginx的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁nginx 出现大量 400 Bad Request 错误 & 社区 & Ruby China
nginx /access.log 里面出现大量 400 错误,基本上90%都是400错误。
有人说是浏览器的问题,也有人说是缓冲区的Cookie大小的问题,不知道由什么引起的,大家使用 nginx 时也是这种情况吗??
服务器系统 ubuntu 12.04 64位
124.239.208.79 - - [16/Apr/:53 +0800] "GET / HTTP/1.1" 200 6989 "-" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.31 (KHTML, like Gec
124.239.208.79 - - [16/Apr/:54 +0800] "GET /assets/application-c2244e8cdffbb6b35120c39.js HTTP/1.1" 200 199800 "http://www.sh
124.239.208.79 - - [16/Apr/:05 +0800] "-" 400 0 "-" "-"
124.239.208.79 - - [16/Apr/:05 +0800] "-" 400 0 "-" "-"
124.239.208.79 - - [16/Apr/:05 +0800] "-" 400 0 "-" "-"
124.239.208.79 - - [16/Apr/:07 +0800] "GET /topics/likeable?topic_id=50 HTTP/1.1" 200 79 "/" "Mozilla/5.0
110.75.118.229 - - [16/Apr/:26 +0800] "-" 400 0 "-" "-"
110.75.118.229 - - [16/Apr/:54 +0800] "-" 400 0 "-" "-"
110.75.118.229 - - [16/Apr/:23 +0800] "-" 400 0 "-" "-"
110.75.118.229 - - [16/Apr/:53 +0800] "-" 400 0 "-" "-"
123.125.71.52 - - [16/Apr/:02 +0800] "GET /assets/application-c36aee623c.js HTTP/1.1" 404 446 "-" "Mozilla/5.0 (
110.75.118.229 - - [16/Apr/:22 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:51 +0800] "-" 400 0 "-" "-"
110.75.167.211 - - [16/Apr/:29 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:20 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:50 +0800] "-" 400 0 "-" "-"
110.75.167.212 - - [16/Apr/:26 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:19 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:48 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:18 +0800] "-" 400 0 "-" "-"
110.75.118.229 - - [16/Apr/:47 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:16 +0800] "-" 400 0 "-" "-"
110.75.118.230 - - [16/Apr/:08 +0800] "-" 400 0 "-" "-"
110.75.118.229 - - [16/Apr/:37 +0800] "-" 400 0 "-" "-"
110.75.167.212 - - [16/Apr/:29 +0800] "-" 400 0 "-" "-"
看到你的问题我也发现我的nginx里有同样的400
求大牛 指导
项目才上线几天,访问量很少,不过,400会一直出现,然后会出来很多 access.log.1.gz access.log.2.gz 现在数字都到 20 几了
我圈的人是个大牛哈
估计我这篇文章可以解你疑惑
问题找到了,可找不到解决的方法,很郁闷
nginx的log日志开启到了info级别?关掉就可以了。
这根本就不是个问题嘛,你可以认为是 Chrome 的一个小 BUG
如何关闭,我对 nginx 的配置不是很熟悉,能不能使 nginx 忽略掉 400,不记录 400 的信息
哪敢当啊。我是来向大伙学习的。
这不仅仅是chrome的问题,跟nginx的配置也有关系,此类问题发生在nginx作应用代理的环境中。问题根源是http头太大(长),比如cookie里塞了太多的东西之类的。可以调整nginx配置或减少cookie的长度来解决这个问题。
对,400 状态码有很多种情况,我文章说的只是其中一种比较诡异而且难查的
原来还有此一说,学习了
不知道什么原因,在我 10.04 32位的ubuntu 上面就没有400错误
你确定你的400产生原因跟我文章里面的一样吗?
我上面已有提及,这种现象最常发生的环境是:nginx作为proxy,应用在nginx后面。
假设你用chrome直接访问webrick或thin,是不会重现问题的。
哦明白了,我试试
看看你的nginx是什么版本。
Changes with nginx 1.3.15
26 Mar 2013
*) Change: opening and closing a connection without sending any data in
it is no longer logged to access_log with error code 400.
我的一个同事告诉我了,这是一项配置出了问题,具体的哪项我想不起来了。谢谢你回答我的问题!
后方可回复, 如果你还没有账号请点击这里 。
共收到 17 条回复Bad request 400: nginx health check /status - Stack Overflow
to customize your list.
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
J it only takes a minute:
Join the Stack Overflow community to:
Ask programming questions
Answer and help your peers
Get recognized for your expertise
im doing heath check on my nginx servers i keep getting
different status , it should return 200 only but its keep through 400 bad request as thefollowing
10.10.25.2 - - [19/Jun/:06 +0400] "GET /status/ HTTP/1.0" 200 0 "-" "-" "-"
10.10.25.3 - - [19/Jun/:07 +0400] "GET /status/ HTTP/1.0" 200 0 "-" "-" "-"
10.10.25.2 - - [19/Jun/:08 +0400] "GET /status/ HTTP/1.0" 400 264 "-" "-" "-"
10.10.25.3 - - [19/Jun/:09 +0400] "GET /status/ HTTP/1.0" 400 264 "-" "-" "-"
error log :
client sent plain HTTP request to HTTPS port while reading client request headers
Here is my Nginx Setup! Am i missing anything here ?
worker_processes
logs/error.
logs/nginx.
worker_connections
default_type text/
log_format
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log
logs/access.
keepalive_timeout
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-O
add_header X-XSS-Protection "1; mode=block";
include /etc/nginx/conf.d/*.
listen 443;
access_log
logs/host.access.
ssl_certificate
/etc/nginx/conf/self-ssl.
ssl_certificate_key
/etc/nginx/conf/self-ssl.
ssl_session_timeout
ssl_protocols
SSLv2 SSLv3 TLSv1;
ssl_ciphers
HIGH:!aNULL:!MD5;
ssl_prefer_server_
Remove ssl on and add ssl modifier to listen 443.
listen 80;
listen 443
access_log
logs/host.access.
ssl_certificate
/etc/nginx/conf/self-ssl.
5,30211017
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled