On Fri, Oct 9, 2009 at 2:14 PM, pepejose <nginx-forum@nginx.us> wrote:
> sorry but I do not understand your solution.
>
>
> many thanks to the two
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,8334,12295#msg-12295
>
>
>
here's the config I tried and seems to be working:
http://pastebin.com/m40212ee1
replace
include php_params;
with
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8080;
like this http://pastebin.com/m1ea4181e
but I'm not sure if it works with apache backend...
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org