mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-18 07:47:13 +02:00
Updated Zabbix web-frontend configuration file
This commit is contained in:
parent
d7aaa9ac39
commit
3d850f0210
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
@ -36,7 +36,7 @@ if (file_exists('/etc/zabbix/web/certs/vault.crt')) {
|
||||
$DB['VAULT_CERT_FILE'] = file_exists('/etc/zabbix/web/certs/vault.crt');
|
||||
}
|
||||
elseif (file_exists(getenv('ZBX_VAULTCERTFILE'))) {
|
||||
$DB['VAULT_CERT_FILE'] = $DB['VAULT_CERT_FILE'];
|
||||
$DB['VAULT_CERT_FILE'] = getenv('ZBX_VAULTCERTFILE');
|
||||
}
|
||||
else {
|
||||
$DB['VAULT_CERT_FILE'] = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user