mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 10:27:46 +02:00
15 lines
467 B
Plaintext
15 lines
467 B
Plaintext
location ~ ^/icingaweb2/index\.php(.*)$ {
|
|
fastcgi_pass unix:/run/php-fpm/icingaweb2.sock;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
|
|
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
|
|
fastcgi_param REMOTE_USER $remote_user;
|
|
}
|
|
|
|
location ~ ^/icingaweb2(.+)? {
|
|
alias /usr/share/icingaweb2/public;
|
|
index index.php;
|
|
try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args;
|
|
}
|