This commit is contained in:
2019-07-25 21:28:44 -04:00
parent 7d28ba663a
commit bc7e068522
2 changed files with 7 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ rewrite ^/$ http://icinga.keiran.us/icingaweb2 permanent;
location ~ ^/icingaweb2/index\.php(.*)$ {
# fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/var/run//php/php7.0-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
@@ -20,4 +20,9 @@ rewrite ^/$ http://icinga.keiran.us/icingaweb2 permanent;
try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args;
}
location ~ ^/ccfc(.+)? {
alias /var/www/ccfc;
index index.php;
}
}

View File

@@ -37,3 +37,4 @@ icingaweb2_enable:
- watch_by:
- service: nginx
# apt --no-install-recommends install nagios-nrpe-plugin