Fixed index file name for Apache images

This commit is contained in:
Alexey Pustovalov 2024-02-05 01:24:40 +09:00
parent 8570ff8d52
commit defd042ae8
8 changed files with 8 additions and 8 deletions

View File

@ -210,7 +210,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -226,7 +226,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -226,7 +226,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -210,7 +210,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -197,7 +197,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -213,7 +213,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -213,7 +213,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}

View File

@ -201,7 +201,7 @@ prepare_zbx_web_config() {
if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then if [ -f "$ZABBIX_ETC_DIR/apache_ssl.conf" ]; then
sed -i \ sed -i \
-e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \ -e "s/{HTTP_INDEX_FILE}/${HTTP_INDEX_FILE}/g" \
"$ZABBIX_ETC_DIR/apache_ssl.conff" "$ZABBIX_ETC_DIR/apache_ssl.conf"
fi fi
: ${ENABLE_WEB_ACCESS_LOG:="true"} : ${ENABLE_WEB_ACCESS_LOG:="true"}