-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
From the logs during startup of eda-ui:
# kubectl logs -n awx pod/eda-ui-5f99478dc4-sjnpl -f
docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: ipv6 not available
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2023/10/13 21:06:31 [emerg] 1#1: socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Copying /etc/nginx/templates/default.conf.template contains the following snippet
server {
listen 80;
listen [::]:80;
server_name _
server_tokens off;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name _;
server_tokens off;
This negates the running of the script in 10-listen-on-ipv6-by-default.sh, and enables IPv6 on systems, where IPv6 is not enabled.
Metadata
Metadata
Assignees
Labels
No labels