Annotations for the InfluxDB Module
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
parent
aa256ac887
commit
93be8db612
10 changed files with 256 additions and 1 deletions
|
|
@ -980,6 +980,10 @@ stream {
|
|||
{{ template "CORS" $location }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $location.InfluxDB.InfluxDBEnabled }}
|
||||
influxdb server_name=$location.InfluxDB.InfluxDBServerName host=$location.InfluxDB.InfluxDBHost port=$location.InfluxDB.InfluxDBPort measurement=$location.InfluxDB.InfluxDBMeasurement enabled=true;
|
||||
{{ end }}
|
||||
|
||||
{{ if not (empty $location.Redirect.URL) }}
|
||||
if ($uri ~* {{ $path }}) {
|
||||
return {{ $location.Redirect.Code }} {{ $location.Redirect.URL }};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue