disable schellcheck
This commit is contained in:
parent
92e4a9eadd
commit
e6a3dbbe2d
@ -11,6 +11,7 @@ set -e
|
||||
: "${MEMCACHED_HOST:=zammad-memcached}"
|
||||
: "${MEMCACHED_PORT:=11211}"
|
||||
: "${NGINX_SERVER_NAME:=_}"
|
||||
# shellcheck disable=SC2016
|
||||
: "${NGINX_SERVER_SCHEME:='$scheme'}"
|
||||
: "${POSTGRESQL_HOST:=zammad-postgresql}"
|
||||
: "${POSTGRESQL_PORT:=5432}"
|
||||
@ -115,6 +116,7 @@ if [ "$1" = 'zammad-nginx' ]; then
|
||||
check_zammad_ready
|
||||
|
||||
# configure nginx
|
||||
# shellcheck disable=SC2154
|
||||
sed -e "s#proxy_set_header X-Forwarded-Proto $scheme;#proxy_set_header X-Forwarded-Proto ${NGINX_SERVER_SCHEME};#g" \
|
||||
-e "s#server .*:3000#server ${ZAMMAD_RAILSSERVER_HOST}:${ZAMMAD_RAILSSERVER_PORT}#g" \
|
||||
-e "s#server .*:6042#server ${ZAMMAD_WEBSOCKET_HOST}:${ZAMMAD_WEBSOCKET_PORT}#g" \
|
||||
|
Loading…
Reference in New Issue
Block a user