18 lines
487 B
Plaintext
18 lines
487 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "${NGX_HTTP}" = 0 ] ; then
|
||
|
unset NGX_HTTP_MODULES NGX_HTTP_CONFLOAD NGX_HTTP_CACHES NGX_HTTP_WEBROOT
|
||
|
else
|
||
|
unset default_caches
|
||
|
default_caches='client_temp fastcgi_temp proxy_temp scgi_temp uwsgi_temp'
|
||
|
|
||
|
set -a
|
||
|
NGX_HTTP_MODULES="${NGX_HTTP_MODULES:-}"
|
||
|
NGX_HTTP_CONFLOAD="${NGX_HTTP_CONFLOAD:-}"
|
||
|
NGX_HTTP_CACHES=$(sort_dedup_list "${default_caches} ${NGX_HTTP_CACHES:-}")
|
||
|
NGX_HTTP_WEBROOT="${NGX_HTTP_WEBROOT:-/etc/angie/static.d}"
|
||
|
set +a
|
||
|
|
||
|
unset default_caches
|
||
|
fi
|