moinmoin install nginx uwsgi

=== Config nginx ===

{{{ server { #server_name wiki.example.com; listen 4081; #access_log /var/log/nginx/access.log; #error_log /var/log/nginx/error.log;

location / {
    include uwsgi_params;
    uwsgi_pass unix:///srv/www/moin/moin.sock;
    uwsgi_modifier1 30;
}

} }}}

vi /etc/init/moin.conf {{{ description "moin uwsgi service"

start on runlevel [2345] stop on runlevel [!2345]

chdir /srv/www/moin/wiki/ exec uwsgi -x /srv/www/moin/wiki/uwsgi.xml respawn }}}

Comments !