Welcome! Log In Create A New Profile

Advanced

How to merge .conf files

Posted by wysedata 
How to merge .conf files
September 09, 2020 07:08PM
I'm new to Nginx. I read quite a bit but I can't find how to do what I want. I've done what seems logical to me, but nginx -t keeps saying too many statements. I want to merge 2 working nginx .conf files. One is for Librenms and works for:
http://librenms + /smokeping

The other is for

http://librenms but has a different root (nfsen)

can anyone help me merge the 2 conf files so I can have

http://librenms
http://librenms/smokeping
http://librenms/nfsen

Thanks
Attachments:
open | download - nfsen.conf (733 bytes)
open | download - librenms.conf (2 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready