summaryrefslogtreecommitdiff
path: root/roles/tfe
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2019-09-26 16:17:36 +0800
committerLu Qiuwen <[email protected]>2019-09-26 16:17:36 +0800
commit6482fa0a31352774072aa31e28a18ff1eeab30d8 (patch)
tree841506bc2d5c6164397d89803cf704b69d5580bb /roles/tfe
parent0885700e690fe82166f6e2f67a5bf0e27b1d2cd2 (diff)
修正Pangu-HTTP配置文件中动态Maat配置错误的问题。
Diffstat (limited to 'roles/tfe')
-rw-r--r--roles/tfe/templates/pangu_pxy.conf.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/tfe/templates/pangu_pxy.conf.j2 b/roles/tfe/templates/pangu_pxy.conf.j2
index 2d3596d..73f988e 100644
--- a/roles/tfe/templates/pangu_pxy.conf.j2
+++ b/roles/tfe/templates/pangu_pxy.conf.j2
@@ -71,9 +71,9 @@ effect_interval_s=1
[dynamic_maat]
maat_input_mode=1
table_info=resource/pangu/dynamic_maat_table_info.conf
-maat_redis_server=127.0.0.1
-maat_redis_port_range=6380-6389
-maat_redis_db_index=0
+maat_redis_server={{ dynamic_maat_redis_server.address }}
+maat_redis_port_range={{ dynamic_maat_redis_server.port }}
+maat_redis_db_index={{ dynamic_maat_redis_server.db }}
effect_interval_s=1
[tango_cache]