bundlewrap/data/nginx/files/extras/ovh.icinga2/icingaweb

11 lines
380 B
Text

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;
}