Commit cc7b549
committed
fix: patch Bitnami nginx-env.sh to use www-data worker user
Bitnami's nginx-env.sh hardcodes NGINX_DAEMON_USER='daemon', overwriting
any env var Lando sets. The entrypoint then rewrites the 'user' directive
in nginx.conf with this value. The only reliable fix is patching
nginx-env.sh before the entrypoint runs.
Added sed commands to launch.sh to replace 'daemon' with 'www-data'
in nginx-env.sh before the Bitnami entrypoint sources it.
Fixes: https://github.com/lando/drupal/issues/1241 parent 051689a commit cc7b549
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments