2024-07-11 13:37:35 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ "${NGX_HTTP}" = 0 ] ; then
|
2024-07-24 22:47:53 +03:00
|
|
|
unset NGX_HTTP_MODULES NGX_HTTP_CONFLOAD NGX_HTTP_CACHES NGX_HTTP_WEBROOT
|
2024-07-11 13:37:35 +03:00
|
|
|
else
|
2024-07-24 22:47:53 +03:00
|
|
|
unset default_caches
|
|
|
|
default_caches='client_temp fastcgi_temp proxy_temp scgi_temp uwsgi_temp'
|
|
|
|
|
2024-07-11 13:37:35 +03:00
|
|
|
set -a
|
|
|
|
NGX_HTTP_MODULES="${NGX_HTTP_MODULES:-}"
|
2024-07-23 21:59:49 +03:00
|
|
|
NGX_HTTP_CONFLOAD="${NGX_HTTP_CONFLOAD:-}"
|
2024-07-24 22:47:53 +03:00
|
|
|
NGX_HTTP_CACHES=$(sort_dedup_list "${default_caches} ${NGX_HTTP_CACHES:-}")
|
|
|
|
NGX_HTTP_WEBROOT="${NGX_HTTP_WEBROOT:-/etc/angie/static.d}"
|
2024-07-11 13:37:35 +03:00
|
|
|
set +a
|
2024-07-24 22:47:53 +03:00
|
|
|
|
|
|
|
unset default_caches
|
2024-07-11 13:37:35 +03:00
|
|
|
fi
|