ccfc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -37,3 +37,4 @@ icingaweb2_enable:
|
||||
- watch_by:
|
||||
- service: nginx
|
||||
|
||||
# apt --no-install-recommends install nagios-nrpe-plugin
|
||||
|
||||
Reference in New Issue
Block a user