Welcome! Log In Create A New Profile

Advanced

Re: Strange hex numbers on my page

Anton Yuzhaninov
April 23, 2009 08:56AM
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
Subject Author Posted

Strange hex numbers on my page

marcintom April 23, 2009 08:28AM

Re: Strange hex numbers on my page

Anton Yuzhaninov April 23, 2009 08:56AM

Re: Strange hex numbers on my page

marcintom April 23, 2009 09:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready