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

caddy-frontend: Pass monitor-httpd-port on request

parent 725f3cef
......@@ -22,7 +22,7 @@ md5sum = 2db996d2c48c0fe03c05f051e7a914bc
[template-apache-replicate]
filename = instance-apache-replicate.cfg.in
md5sum = a757e014f362c3db3c2717cc5b4102ab
md5sum = e2d7a5bc47e1c2e79d9ba84684277c6e
[template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in
......
......@@ -77,12 +77,16 @@ context =
{% endif %}
{% endfor -%}
[monitor-instance-parameter]
monitor-httpd-port = {{ slapparameter_dict.get('monitor-httpd-port', '8196') }}
[replicate]
<= slap-connection
recipe = slapos.cookbook:requestoptional
config-monitor-cors-domains = {{ slapparameter_dict.get('monitor-cors-domains', 'monitor.app.officejs.com') }}
config-monitor-username = ${monitor-instance-parameter:username}
config-monitor-password = ${monitor-htpasswd:passwd}
config-monitor-httpd-port = {{ slapparameter_dict.get('monitor-httpd-port', '8196') }}
{% set frontend_software_url_key = "-frontend-software-release-url" %}
{% if slapparameter_dict.has_key(frontend_software_url_key) %}
......
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