I noticed recently, because i’m lazy, that when i browse to librenms/ instead of librenms.company.com that the alert notifications and history fail to load. I can change the behavior by modifying the server name in nginx. For example, if i change server name to librenms it will load alert notifications when going to librenms/ but not to librenms.company.com. If i change the server name to librenms.company.com the alert notifications load for librenms.company.com but not for librenms/.
Any ideas on how i can make it work with either URL? From what i can tell the rest of the app works correctly but i haven’t invested a ton of time verifying that.
====================================
| Component | Version |
|---|---|
| LibreNMS | 22.1.0-77-g681c994 |
| DB Schema | 2021_12_02_113537_ports_stp_designated_cost_change_to_int (234) |
| PHP | 7.4.18 |
| Python | 3.6.8 |
| MySQL | 10.5.9-MariaDB |
| RRDTool | 1.4.8 |
| SNMP | 5.7.2 |
====================================
[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct