I configured nginx to serve up localhost:2812 on mydomain.com/monit:

    location ~* /monit {
      rewrite  ^/monit(.*)$ /$1 break;
      proxy_pass   http://localhost:2812;
    }

...however, monit serves all its links as if it's running on '/', so I
can't actually control any services since the URLs are all wrong.  (
In order to work, they'd have to be prefixed with '/monit' )

I don't really see anything in the docs to help solve this:

http://mmonit.com/monit/documentation/monit.html#monit_httpd

Any suggestions, or best practices for this?

Thanks!

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to