can someone post their working nginx+moinmoin config?

Cherife Li cherife at
Fri Jul 3 18:20:21 MSD 2009

On Fri, 03 Jul 2009 at 15:42:38 +0200, Eugen Leitl wrote:

> Can someone post their working nginx+moinmoin config?
> Thanks/Спасибо.

I'm running Moin standalone mode, and using proxy_redirect within nginx.
Here is the block of the config:
# For MoinMoin:
rewrite ^/moin_static[0-9]+/(.*)$       /moin/$1        last;

location /wiki/ {
    proxy_redirect          http://localhost:8080   /;
    proxy_pass              http://localhost:8080;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        Host            $http_host;
    proxy_set_header        X-Moin-Location /wiki/;

Cliff Wells has the experience using Twisted server. It's said to be
better. Although I haven't tried it out. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the nginx mailing list