bundlewrap/data/nginx/files/extras/ovh.icinga2/icingaweb
Franziska Kunsmann eab9d6f97c
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
ovh.icinga2: update to debian bullseye and php 8.0
2022-03-13 14:07:55 +01:00

15 lines
461 B
Text

location ~ \.php$ {
include fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
}
location = / {
return 301 https://$host/authentication/login;
}
location / {
try_files $1 $uri $uri/ /index.php$is_args$args;
}