mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Force root url if set by user (#9266)
* Force root url if set by user If user sets APP_URL, force the root url to that. Empty strings result in default behavior. Fix some of the urls in the laravel templates. * Docs update * Add base_url
This commit is contained in:
@@ -388,5 +388,8 @@ At a minimum: X-Forwarded-For and X-Forwarded-Proto (X-Forwarded-Port if needed)
|
||||
|
||||
You also need to [Set the proxy or proxies as trusted](../Support/Environment-Variables.md#trusted-reverse-proxies)
|
||||
|
||||
If you are using a subdirectory on the reverse proxy and not on the actual web server,
|
||||
you may need to set [APP_URL](../Support/Environment-Variables.md#base-url) and `$config['base_url']`.
|
||||
|
||||
### <a name='my-alerts-aren't-being-delivered-on-time'>My alerts aren't being delivered on time</a>
|
||||
If you're running MySQL/MariaDB on a separate machine or container make sure the timezone is set properly on both the LibreNMS **and** MySQL/MariaDB instance. Alerts will be delivered according to MySQL/MariaDB's time, so a mismatch between the two can cause alerts to be delivered late if LibreNMS is on a timezone later than MySQL/MariaDB.
|
||||
|
||||
Reference in New Issue
Block a user