2019/monitoring/nginx-icinga-snippet.conf
Vladimir Vitkov d41084ea68 Initial icinga2 load
* Icinga2 config
 * Icingaweb2 config
 * Nginx location snippets

Most PHP modules installed. PHP is via php-fpm and on local socket
2019-10-24 00:05:56 +03:00

16 lines
470 B
Plaintext

location ~ ^/icingaweb2/index\.php(.*)$ {
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /opt/openfest/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
fastcgi_param REMOTE_USER $remote_user;
}
location ~ ^/icingaweb2(.+)? {
alias /opt/openfest/icingaweb2/public;
index index.php;
try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args;
}