Set default value for vtsDefaultFilterKey
This commit is contained in:
parent
72b0259151
commit
e37ea14e7e
2 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ http {
|
|||
|
||||
{{ if $cfg.EnableVtsStatus }}
|
||||
vhost_traffic_status_zone shared:vhost_traffic_status:{{ $cfg.VtsStatusZoneSize }};
|
||||
vhost_traffic_status_filter_by_set_key {{ if not $cfg.VtsDefaultFilterKey }}$geoip_country_code country::*{{ else }} {{ $cfg.VtsDefaultFilterKey }}{{ end }};
|
||||
vhost_traffic_status_filter_by_set_key {{ $cfg.VtsDefaultFilterKey }};
|
||||
{{ end }}
|
||||
|
||||
sendfile on;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue