nginx and thttpd + cgi, remote_addr = 127.0.0.1
Aleksandar Lazic
al-nginx at none.at
Wed Oct 26 15:50:47 UTC 2011
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
More information about the nginx
mailing list