bundles/php: introduce
This commit is contained in:
parent
e2d8923dee
commit
f8bc4b2ad9
8 changed files with 299 additions and 3 deletions
|
@ -63,13 +63,13 @@ server {
|
|||
|
||||
% if php:
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
include fastcgi.conf;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
||||
fastcgi_pass unix:/run/php/php${php_version}-fpm.sock;
|
||||
}
|
||||
% endif
|
||||
|
||||
% if extras:
|
||||
<%include file="extras/${node.name}/${domain}" />
|
||||
<%include file="extras/${node.name}/${vhost}" />
|
||||
% endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue