* Fixes #205 - Automatically remove IPv6 listen directive * Update docker-entrypoint.sh Co-authored-by: André Bauer <monotek@users.noreply.github.com>
This commit is contained in:
parent
8eadbd39a1
commit
ccb9ca3226
@ -121,7 +121,7 @@ if [ "$1" = 'zammad-nginx' ]; then
|
||||
check_zammad_ready
|
||||
|
||||
# configure nginx
|
||||
sed -e "s#listen .*#listen ${NGINX_PORT};#g" \
|
||||
sed -e "s#\(listen\)\(.*\)80#\1\2${NGINX_PORT}#g" \
|
||||
-e "s#proxy_set_header X-Forwarded-Proto .*;#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