Nagios in a subdirectory
Posted: Sun Apr 05, 2015 4:47 am
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.
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.