icinga2: install packages and dependencies

This commit is contained in:
Franzi 2020-11-13 13:19:26 +01:00
parent 277808a9c5
commit d31910368c
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 44 additions and 6 deletions

View file

@ -0,0 +1,11 @@
location ~ \.php$ {
include fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
}
location / {
try_files $1 $uri $uri/ /index.php$is_args$args;
}