Commit aeb3ab41 authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Honor monitor variables from request

parent a91330d1
...@@ -18,7 +18,7 @@ md5sum = 906e5bd66b1265b8109a86b6ab46e91f ...@@ -18,7 +18,7 @@ md5sum = 906e5bd66b1265b8109a86b6ab46e91f
[template-apache-frontend] [template-apache-frontend]
filename = instance-apache-frontend.cfg filename = instance-apache-frontend.cfg
md5sum = 2db996d2c48c0fe03c05f051e7a914bc md5sum = 1f7bd1a8e1fd3d77470bc36dcd68a023
[template-apache-replicate] [template-apache-replicate]
filename = instance-apache-replicate.cfg.in filename = instance-apache-replicate.cfg.in
......
...@@ -123,6 +123,8 @@ configuration.trafficserver-mgmt-port = 8084 ...@@ -123,6 +123,8 @@ configuration.trafficserver-mgmt-port = 8084
configuration.re6st-verification-url = http://[2001:67c:1254:4::1]/index.html configuration.re6st-verification-url = http://[2001:67c:1254:4::1]/index.html
configuration.enable-http2-by-default = true configuration.enable-http2-by-default = true
configuration.mpm-graceful-shutdown-timeout = 5 configuration.mpm-graceful-shutdown-timeout = 5
configuration.monitor-cors-domains =
configuration.monitor-httpd-port = 8072
[frontend-configuration] [frontend-configuration]
template-log-access = ${template-log-access:target} template-log-access = ${template-log-access:target}
...@@ -610,8 +612,6 @@ apache-certificate = ...@@ -610,8 +612,6 @@ apache-certificate =
open-port = 80 443 open-port = 80 443
extra_slave_instance_list = extra_slave_instance_list =
frontend-name = frontend-name =
monitor-cors-domains =
monitor-httpd-port = 8072
monitor-username = $${monitor-instance-parameter:username} monitor-username = $${monitor-instance-parameter:username}
monitor-password = $${monitor-htpasswd:passwd} monitor-password = $${monitor-htpasswd:passwd}
...@@ -620,8 +620,8 @@ monitor-password = $${monitor-htpasswd:passwd} ...@@ -620,8 +620,8 @@ monitor-password = $${monitor-htpasswd:passwd}
# #
[monitor-instance-parameter] [monitor-instance-parameter]
monitor-httpd-port = $${slap-parameter:monitor-httpd-port} monitor-httpd-port = $${instance-parameter:configuration.monitor-httpd-port}
cors-domains = $${slap-parameter:monitor-cors-domains} cors-domains = $${instance-parameter:configuration.monitor-cors-domains}
username = $${slap-parameter:monitor-username} username = $${slap-parameter:monitor-username}
password = $${slap-parameter:monitor-password} password = $${slap-parameter:monitor-password}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment