diff --git a/deploy/docker/entrypoint.sh b/deploy/docker/entrypoint.sh index 10703c48ba..291d7e7797 100644 --- a/deploy/docker/entrypoint.sh +++ b/deploy/docker/entrypoint.sh @@ -378,6 +378,10 @@ init_postgres || runEmbeddedPostgres=0 } init_loading_pages(){ + # The default NGINX configuration includes an IPv6 listen directive. But not all + # servers support it, and we don't need it. So we remove it here before starting + # NGINX. + sed -i '/\[::\]:80 default_server;/d' /etc/nginx/sites-available/default local starting_page="/opt/appsmith/templates/appsmith_starting.html" local initializing_page="/opt/appsmith/templates/appsmith_initializing.html" local editor_load_page="/opt/appsmith/editor/loading.html"