Welcome! Log In Create A New Profile

Advanced

Re: can someone post their working nginx+moinmoin config?

Cherife Li
July 03, 2009 10:20AM
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:
[..snip..]
# 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/;
}
[..snip..]

Cliff Wells has the experience using Twisted server. It's said to be
better. Although I haven't tried it out. :-)
--
Rgds,
Cherife.
Subject Author Posted

can someone post their working nginx+moinmoin config?

Eugen Leitl July 03, 2009 09:42AM

Re: can someone post their working nginx+moinmoin config?

Cherife Li July 03, 2009 10:20AM

Re: can someone post their working nginx+moinmoin config?

Eugen Leitl July 03, 2009 11:26AM

Re: can someone post their working nginx+moinmoin config?

Momchil Ivanov July 04, 2009 08:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready