2020-11-13 12:19:26 +00:00
|
|
|
location ~ \.php$ {
|
|
|
|
include fastcgi.conf;
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
2022-03-13 13:07:55 +00:00
|
|
|
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
|
2020-11-13 12:19:26 +00:00
|
|
|
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
|
|
|
|
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
|
|
|
|
}
|
|
|
|
|
2020-11-21 07:57:46 +00:00
|
|
|
location = / {
|
|
|
|
return 301 https://$host/authentication/login;
|
|
|
|
}
|
|
|
|
|
2020-11-13 12:19:26 +00:00
|
|
|
location / {
|
|
|
|
try_files $1 $uri $uri/ /index.php$is_args$args;
|
|
|
|
}
|