Home /  Monit /  Nginx

Monit can be used from behind a proxy server.

Here is an example on how to configure Nginx proxy in front of Monit. In this example Monit listens on and we configure Nginx so Monit is accessible via this Nginx proxy URL, http://nginx.addr.ess/monit/

    location /monit/ {
        rewrite ^/monit/(.*) /$1 break;
        proxy_ignore_client_abort on;
        proxy_redirect /monit; 
        proxy_cookie_path / /monit/;