Hello,
I have installed Nagios on Ubuntu 14.04 server which running nging. Installation process went fine and nagios server is started and running already. The only problem I got is that I cannot set up properly the nginx configuration file, in order to access nagios through my web browser.
I would like to have nagios in a subdirectory, domain.com/stats/nagios. The directories that Nagios is being installed on the server are /etc/nagios and /usr/local/share/nagios.
Can you please help me with the nginx rules?
Thank you.
Nagios in a subdirectory
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios in a subdirectory
Have you got a cgi wrapper module configured for nginx? If so which one? Here is one individuals howto:
http://johan.cc/2012/02/06/nagios-nginx/
If you don't already have a cgi wrapper you may be best served using default Apache on a different port and using nginx to reverse proxy it.
http://johan.cc/2012/02/06/nagios-nginx/
If you don't already have a cgi wrapper you may be best served using default Apache on a different port and using nginx to reverse proxy it.