2024-07-11 13:37:35 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -ef
|
|
|
|
|
|
|
|
. /image-entry.d/00-common.envsh
|
|
|
|
|
2024-07-16 02:43:08 +03:00
|
|
|
dirs='conf mod modules njs site snip'
|
|
|
|
[ "${NGX_PROCESS_STATIC}" = 0 ] || dirs="${dirs} static"
|
|
|
|
|
|
|
|
for n in ${dirs} ; do
|
|
|
|
merged_dir="${merged_root}/$n"
|
|
|
|
[ -d "${merged_dir}" ] || continue
|
|
|
|
|
|
|
|
expand_dir_envsubst "${merged_dir}/"
|
|
|
|
expand_dir_jinja "${merged_dir}/"
|
|
|
|
done
|
2024-07-11 13:37:35 +03:00
|
|
|
|
|
|
|
exit 0
|