Skip to content

Commit 1a7da85

Browse files
committed
Restoring setting user / group to www for FPM
1 parent e97d2d7 commit 1a7da85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

overlay/etc/bf/init.d/23-www-conf.nu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ bf env load
44

55
# Apply any overrides to www.conf
66
export def main [] {
7-
# PHP-FPM configuration file
7+
# set user / group to www
88
let fpm_conf = bf env PHP_FPM_CONF
9+
let www = "www"
10+
bf-php ini insert_or_replace_values_in_file $fpm_conf {user: $www, group: $www}
911

1012
# load any override files and apply them
1113
let fpm_override = bf env PHP_FPM_OVERRIDE_D

0 commit comments

Comments
 (0)