ccfc fastcgi

This commit is contained in:
2019-07-25 21:41:02 -04:00
parent bc7e068522
commit 64933ac41a

View File

@@ -20,9 +20,12 @@ rewrite ^/$ http://icinga.keiran.us/icingaweb2 permanent;
try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args; try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args;
} }
location ~ ^/ccfc(.+)? { location ~ ^/ccfc/$ {
alias /var/www/ccfc; fastcgi_pass unix://var/run/php/php7.0-fpm.sock;
index index.php; fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /var/www/ccfc/index.php;
fastcgi_param REMOTE_USER $remote_user;
} }
} }