Strange hex numbers on my page
Anton Yuzhaninov
citrin at citrin.ru
Thu Apr 23 16:56:00 MSD 2009
marcintom wrote:
> I work on 0.5.26 version and yesterday I migrate to 0.6.36 version. I have a problem
> configuration looks like as in old version and allmost everything work fine but
> in the wordpress it appear some random hex number in my pge for example before
> 22056 <!--Doctype,
> and the end of document( 0 0 )
> and in other places.
>
> nginx.conf
> (...)
> if ($host ~ xxx\.org ) {
> break;
> proxy_pass http://127.0.0.1:8888;
> }
> (...)
>
> This hex numbers are ofcourse visible in browser.
> When I tried GET my wordpress blog without nginx
> there are no any numbers so the problem in 99% is on nginx side in
> my opinion.
Problem in wordpress side - it send HTTP/1.1 chunked reply to HTTP/1.0 request from nginx.
Workaround is to add in apache httpd.conf
SetEnv force-response-1.0 1
SetEnv downgrade-1.0 1
or
BrowserMatch ".*" downgrade-1.0 force-response-1.0
--
Anton Yuzhaninov
More information about the nginx
mailing list