mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 08:35:05 +02:00
Added ZBX_ALLOW_HTTP_AUTH parameter and php-curl package
This commit is contained in:
@ -209,6 +209,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"
|
||||
|
Reference in New Issue
Block a user