Added ZBX_ALLOW_HTTP_AUTH parameter and php-curl package

This commit is contained in:
Alexey Pustovalov
2024-04-27 21:21:44 +09:00
parent 72f60d44dc
commit b35ca70fcc
63 changed files with 131 additions and 2 deletions

View File

@ -215,6 +215,9 @@ prepare_zbx_web_config() {
export ZBX_SSO_SP_CERT=${ZBX_SSO_SP_CERT}
export ZBX_SSO_IDP_CERT=${ZBX_SSO_IDP_CERT}
: ${ZBX_ALLOW_HTTP_AUTH:="true"}
export ZBX_ALLOW_HTTP_AUTH=${ZBX_ALLOW_HTTP_AUTH}
if [ -n "${ZBX_SESSION_NAME}" ]; then
cp "$ZABBIX_WWW_ROOT/include/defines.inc.php" "/tmp/defines.inc.php_tmp"
sed "/ZBX_SESSION_NAME/s/'[^']*'/'${ZBX_SESSION_NAME}'/2" "/tmp/defines.inc.php_tmp" > "$ZABBIX_WWW_ROOT/include/defines.inc.php"