ccfc fastcgi
This commit is contained in:
@@ -20,9 +20,12 @@ 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;
|
||||
location ~ ^/ccfc/$ {
|
||||
fastcgi_pass unix://var/run/php/php7.0-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/ccfc/index.php;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user