mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update docs around APP_URL (#14282)
* Update docs around APP_URL it is required in more cases than implied such as signed graphs * Some require public urls * Update Templates.md
This commit is contained in:
@@ -287,8 +287,12 @@ emails
|
|||||||
## Graphs
|
## Graphs
|
||||||
|
|
||||||
There are two helpers for graphs that will use a signed url to allow secure external
|
There are two helpers for graphs that will use a signed url to allow secure external
|
||||||
access. Anyone using the signed url will be able to view the graph. Your LibreNMS web
|
access. Anyone using the signed url will be able to view the graph.
|
||||||
must be accessible from the location where the graph is viewed.
|
|
||||||
|
- Your LibreNMS web must be accessible from the location where the graph is viewed.
|
||||||
|
Some alert transports require publicly accessible urls.
|
||||||
|
- APP_URL must be set in .env to use signed graphs.
|
||||||
|
- Changing APP_KEY will invalidate all previously issued singed urls.
|
||||||
|
|
||||||
You may specify the graph one of two ways, a php array of parameters, or
|
You may specify the graph one of two ways, a php array of parameters, or
|
||||||
a direct url to a graph.
|
a direct url to a graph.
|
||||||
|
@@ -30,9 +30,10 @@ APP_TRUSTED_PROXIES=192.168.1.0/24,192.167.8.20
|
|||||||
|
|
||||||
## Base url
|
## Base url
|
||||||
|
|
||||||
Set the base url for generated urls. Do not set this if it is not needed.
|
Set the base url for generated urls.
|
||||||
|
|
||||||
You may need to set this when using reverse proxies combined with a subdirectory.
|
This will be needed when using signed graph urls for alerting. It may
|
||||||
|
be needed when using reverse proxies combined with a subdirectory.
|
||||||
|
|
||||||
Generally, LibreNMS will make correct URLs (especially if you have set
|
Generally, LibreNMS will make correct URLs (especially if you have set
|
||||||
up your proxy variables correctly)
|
up your proxy variables correctly)
|
||||||
|
Reference in New Issue
Block a user