I have followed the install steps very carefully and I cant get my browser to load the librenms page. It just keeps loading the default nginx page. I have tried http://10.60.0.120 and http://10.60.0.120/install. I have tried removing the ‘server’ section from the nano /etc/nginx/nginx.conf but it just breaks and doesent seem to find my librenms page at nano /etc/nginx/conf.d/librenms.conf. I have spent days on this please help.
Make sure your server_name is setup correctly as the server_name. It should match the config.d conf file. Are you running DNS? Is this the only host for the webservices?
No I am not running DNS. The server name is localhost
[root@localhost ~]# hostname
localhost.localdomain
I made sure both files said localhost next to server nam he and then restarted the nginx service. Still getting 404 not found when trying http://10.60.0.100/install
kinda puzzled you put 10.60.0.120 on the first post but in another post, you put 10.60.0.100. you need to make you have the correct IP in both places. the config file and in the web browser.
I eventually resolved this by pasting the librenms.conf into the middle of nginx.conf. I reloaded the nginx service and went to http://10.60.0.120/install and the librenms page loaded. I felt giddy. Here is the final config of /etc/nginx/nginx.conf. Thank you all for your help. I am little concerned it’s not by the book but whatever works I guess.