Create php user
This commit is contained in:
parent
efa53dc335
commit
9b1d410eeb
|
@ -71,8 +71,8 @@
|
||||||
tryFiles = "try_files $uri /app.php$is_args$args";
|
tryFiles = "try_files $uri /app.php$is_args$args";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
location ~ ^/app\.php(/|$) {
|
location ~ ^/app\.php(/|$) {
|
||||||
|
fastcgi_pass unix:/var/run/php-fpm.sock;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
||||||
internal;
|
internal;
|
||||||
|
@ -155,4 +155,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Create php user
|
||||||
|
users.users.php = {
|
||||||
|
group = "php";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue