Merge "Update the horizon vhost filename"
This commit is contained in:
4
healthcheck/horizon
Normal file → Executable file
4
healthcheck/horizon
Normal file → Executable file
@@ -2,9 +2,9 @@
|
||||
|
||||
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
||||
|
||||
check_url=$(get_url_from_vhost /etc/httpd/conf.d/15-horizon_vhost.conf)
|
||||
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-horizon_vhost.conf)
|
||||
if healthcheck_curl ${check_url}; then
|
||||
exit 0
|
||||
else
|
||||
healthcheck_curl $(get_url_from_vhost /etc/httpd/conf.d/15-horizon_ssl_vhost.conf)
|
||||
healthcheck_curl $(get_url_from_vhost /etc/httpd/conf.d/10-horizon_ssl_vhost.conf)
|
||||
fi
|
||||
|
Reference in New Issue
Block a user