changed zabbix-server to allow sso
This commit is contained in:
parent
ca4d84be71
commit
2843d081a0
1 changed files with 7 additions and 0 deletions
|
|
@ -48,10 +48,17 @@ in
|
||||||
ZBX_SERVER_NAME = "Superbly Managed Networks and Hosting";
|
ZBX_SERVER_NAME = "Superbly Managed Networks and Hosting";
|
||||||
TZ = "Europe/Berlin";
|
TZ = "Europe/Berlin";
|
||||||
PHP_TZ = "Europe/Berlin";
|
PHP_TZ = "Europe/Berlin";
|
||||||
|
ZBX_SSO_IDP_CERT = "/usr/share/zabbix/conf/certs/idp.crt";
|
||||||
|
ZBX_SSO_SP_CERT = "/usr/share/zabbix/conf/certs/sp.crt";
|
||||||
|
ZBX_SSO_SP_KEY = "/usr/share/zabbix/conf/certs/sp.key";
|
||||||
|
ZBX_SSO_SETTINGS = ''{'baseurl': 'https://${domain}'}'';
|
||||||
};
|
};
|
||||||
environmentFiles = [ /etc/nixos/keys/zabbix-env ];
|
environmentFiles = [ /etc/nixos/keys/zabbix-env ];
|
||||||
extraOptions = cfg.podman.extraOptions ++ [ "--ip=${web_ip}" ];
|
extraOptions = cfg.podman.extraOptions ++ [ "--ip=${web_ip}" ];
|
||||||
ports = [ "${port}:8080" ];
|
ports = [ "${port}:8080" ];
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/zabbix/certs:/usr/share/zabbix/conf/certs:ro"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts.${domain} = {
|
services.nginx.virtualHosts.${domain} = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue