[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nginx serving up monit
From: |
Josh Sharpe |
Subject: |
nginx serving up monit |
Date: |
Sun, 30 Jun 2013 00:30:58 -0400 |
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!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- nginx serving up monit,
Josh Sharpe <=