Commit 051689a
committed
fix: run nginx workers as www-data instead of root
The actual worker user is controlled by the 'user' directive in
nginx.conf, not the NGINX_DAEMON_USER env var (which gets overwritten
by Bitnami's nginx-env.sh anyway). Changed from 'root root' to
'www-data www-data' so nginx workers can read files created by PHP.
Reverts the env var change (irrelevant) and fixes the real source.
Fixes: https://github.com/lando/drupal/issues/1241 parent 6704f30 commit 051689a
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments