diff options
author | Aaron Andersen <aaron@fosslib.net> | 2019-09-09 12:24:20 -0400 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2019-09-09 12:24:39 -0400 |
commit | a0edbc5b4dfe8b447144c1b8803827f880f4b86b (patch) | |
tree | 2c2dc3b00cb2cd7d4c1e9a50962ff44ad59e2d0d /nixos | |
parent | c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65 (diff) |
nixos/zabbixWeb: fix a string reference as well as the phpfpm socket path
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/zabbix.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/zabbix.nix b/nixos/modules/services/web-apps/zabbix.nix index dac243b20e97a..09538726b7cd8 100644 --- a/nixos/modules/services/web-apps/zabbix.nix +++ b/nixos/modules/services/web-apps/zabbix.nix @@ -179,7 +179,7 @@ in '' + optionalString (cfg.database.type == "oracle") '' extension=${pkgs.phpPackages.oci8}/lib/php/extensions/oci8.so ''; - phpEnv.ZABBIX_CONFIG = zabbixConfig; + phpEnv.ZABBIX_CONFIG = "${zabbixConfig}"; settings = { "listen.owner" = config.services.httpd.user; "listen.group" = config.services.httpd.group; @@ -197,7 +197,7 @@ in <Directory "${cfg.package}/share/zabbix"> <FilesMatch "\.php$"> <If "-f %{REQUEST_FILENAME}"> - SetHandler "proxy:unix:${fpm.listen}|fcgi://localhost/" + SetHandler "proxy:unix:${fpm.socket}|fcgi://localhost/" </If> </FilesMatch> AllowOverride all |