nginx as reverse proxy, returns garbage symbols

Camilo Aguilar camilo.aguilar at gmail.com
Wed Sep 23 20:46:44 MSD 2009


This is my nginx configuration: http://gist.github.com/192103

On Wed, Sep 23, 2009 at 11:45 AM, Camilo Aguilar
<camilo.aguilar at gmail.com>wrote:

> Hi everyone,
> I am trying to use nginx as a reverse proxy and I am getting garbage
> symbols in my json responses:
>
> 6a
>
> {"codedField":[{"code":"01","name":"Dpto01"},{"code":"02","name":"Dpto02"},{"code":"03","name":"Dpto03"}]}
> 0
>
>
> I have tried with and without gzip and happens the same.
>
> My backend responses are well formed json and then I think that it should
> be a nginx issue.
>
> Can anybody help me please ?
>
> Regards,
>
> Camilo Aguilar
>
>
>
>
>
> --
>   There are two ways of constructing a software design: One way is to make
> it so simple that there are obviously no deficiencies, and the other way is
> to make it so complicated that there are no obvious deficiencies. The first
> method is far more difficult.  -C. A. R. Hoare
>
>   Any fool can write code that a computer can understand. Good programmers
> write code that humans can understand. - Martin Fowler
>
>


-- 
  There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way is
to make it so complicated that there are no obvious deficiencies. The first
method is far more difficult.  -C. A. R. Hoare

  Any fool can write code that a computer can understand. Good programmers
write code that humans can understand. - Martin Fowler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090923/1b8047b3/attachment.html>


More information about the nginx mailing list