Fixed index file name for Apache images

This commit is contained in:
Alexey Pustovalov 2024-02-05 01:24:40 +09:00
parent 368514fbce
commit 87bff17a69
8 changed files with 8 additions and 8 deletions

View File

@ -218,7 +218,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

@ -234,7 +234,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

@ -234,7 +234,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

@ -218,7 +218,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

@ -205,7 +205,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

@ -221,7 +221,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

@ -221,7 +221,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

@ -209,7 +209,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"}