# Strange hex numbers on my page

**URL:** <https://www.ruby-forum.com/t/strange-hex-numbers-on-my-page/166285>\
**Category:** NGINX\
**Created:** [April 23, 2009, 2:37pm UTC](https://www.ruby-forum.com/t/strange-hex-numbers-on-my-page/166285 "2009-04-23T14:37:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcintom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@marcintom](https://www.ruby-forum.com/u/marcintom)\
**Post date:** [April 23, 2009, 2:37pm UTC](https://www.ruby-forum.com/t/strange-hex-numbers-on-my-page/166285/1 "2009-04-23T14:37:21Z")

</div>

Hi all,  
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](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.  
Anybody knows what is going on and can help me ?

Posted at Nginx Forum:

> **[Strange hex numbers on my page](https://forum.nginx.org/read.php?2,1376,1376#msg-1376)**
>
> Hi all, 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...

---

<div class="post-metadata">

**Author:** ![marcintom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@marcintom](https://www.ruby-forum.com/u/marcintom)\
**Post date:** [April 23, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/strange-hex-numbers-on-my-page/166285/2 "2009-04-23T15:03:52Z")

</div>

marcintom wrote:

> ```
> 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

---

<div class="post-metadata">

**Author:** ![marcintom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@marcintom](https://www.ruby-forum.com/u/marcintom)\
**Post date:** [April 24, 2009, 8:51am UTC](https://www.ruby-forum.com/t/strange-hex-numbers-on-my-page/166285/3 "2009-04-24T08:51:33Z")

</div>

I tried first and second solution with httpd.conf and restart apche and  
problem still exist.

Posted at Nginx Forum:

> **[Re: Strange hex numbers on my page](https://forum.nginx.org/read.php?2,1376,1383#msg-1383)**
>
> Hi all, 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...
