proxy_pass to multi background monit http services

Seven Du lists at
Fri Feb 27 12:37:28 MSK 2009

monit has an embedded web interface, I want to use nginx to proxy
several servers:

        location /server1/ {
                rewrite ^/sever1/(.*) /$1 break;
                proxy_pass http://localhost:2812; #monit default port
        location /server2/ {.....}

The first page of each monit server displays well but because all links
in monit has absolute path instead of, I don't know hot to make
that work.

Can nginx do that? or we need to modify monit?

Posted via

More information about the nginx mailing list