atom feed11 messages in ru.sysoev.nginxRe: nginx and thttpd + cgi, remote_ad...
FromSent OnAttachments
Кирюшкин ВладимирOct 25, 2011 2:10 pm 
Francis DalyOct 25, 2011 3:09 pm 
Кирюшкин ВладимирOct 25, 2011 3:16 pm 
Aleksandar LazicOct 25, 2011 3:39 pm 
Francis DalyOct 26, 2011 6:02 am 
Igor SysoevOct 26, 2011 7:26 am 
Кирюшкин ВладимирOct 26, 2011 7:32 am 
Кирюшкин ВладимирOct 26, 2011 8:48 am 
Aleksandar LazicOct 26, 2011 8:50 am 
Кирюшкин ВладимирOct 26, 2011 1:37 pm 
Aleksandar LazicOct 26, 2011 2:01 pm 
Subject:Re: nginx and thttpd + cgi, remote_addr = 127.0.0.1
From:Aleksandar Lazic (al-n@none.at)
Date:Oct 26, 2011 8:50:11 am
List:ru.sysoev.nginx

On 25.10.2011 23:11, Кирюшкин Владимир wrote:

Hello,

i have an issue with getting users' real IP. I am using nginx as frontend with thttpd as backend. I've added such options to my default server in nginx config:

location ~ \.cgi|pl$ {

proxy_pass http://127.0.0.1:8000;

include /etc/nginx/proxy.conf;

Maybe you will need another cgi executer ;-)

http://nginx.localdomain.pl/wiki/FcgiWrap or

http://www.hiawatha-webserver.org/manpages/cgi-wrapper

Cheers Aleks