oddmuse cgi though thttpd--> localhost links

Xan nginx-forum at nginx.us
Sun Oct 3 00:46:45 MSD 2010


Hi,

I follow http://wiki.nginx.org/ThttpdCGI for running oddmuse. This are
my configurations:

nginx:

[...]
        location ~ \.pl$ {
                proxy_pass http://127.0.0.1:8082; #8080 --> thttpd
                proxy_set_header  X-Real-IP  $remote_addr;

        }


thttpd:

[...]
cgipat=**.cgi|**.pl
host=127.0.0.1
port=8082


It appears the main page of oddmuse but all the links ("Edit this page"
for example) point to localhost although 172.26.0.3 (my real ip and
nginx ip).


What can I do?

Xan.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,136368,136368#msg-136368




More information about the nginx mailing list