aboutsummaryrefslogtreecommitdiff
path: root/modules/apps/icingaweb2.nix
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-12-07 22:57:33 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-12-07 22:57:33 +0300
commitc4273035cf5876e3ba8ed2c6b492d31c2de290ee (patch)
tree129f1ac3444e30560c44e8ecb32edc29fa07acc9 /modules/apps/icingaweb2.nix
parent697bbb870a033d77bf0f5fc060bb59aab290da6e (diff)
downloadnixsap-c4273035cf5876e3ba8ed2c6b492d31c2de290ee.tar.gz
Add the "package" option to the nginx app
Diffstat (limited to 'modules/apps/icingaweb2.nix')
-rw-r--r--modules/apps/icingaweb2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apps/icingaweb2.nix b/modules/apps/icingaweb2.nix
index 3881b75..5e988b5 100644
--- a/modules/apps/icingaweb2.nix
+++ b/modules/apps/icingaweb2.nix
@@ -417,7 +417,7 @@ in {
location ~ ^/index\.php(.*)$ {
fastcgi_pass unix:${config.nixsap.apps.php-fpm.icingaweb2.pool.listen.socket};
fastcgi_index index.php;
- include ${pkgs.nginx}/conf/fastcgi_params;
+ include ${config.nixsap.apps.nginx.package}/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME ${pkgs.icingaweb2}/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR ${cfg.configDir};
fastcgi_param REMOTE_USER $remote_user;