choi3179 / docker-nginx-vhost

0 stars 0 forks source link

lb에 default.conf 수정 반영 후 restart 안됨 #2

Closed choi3179 closed 7 months ago

choi3179 commented 7 months ago

Commit

로그

$ sudo docker logs lb
/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: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/02/14 02:18:00 [notice] 1#1: using the "epoll" event method
2024/02/14 02:18:00 [notice] 1#1: nginx/1.25.3
2024/02/14 02:18:00 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14)
2024/02/14 02:18:00 [notice] 1#1: OS: Linux 5.15.133.1-microsoft-standard-WSL2
2024/02/14 02:18:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/02/14 02:18:00 [notice] 1#1: start worker processes
2024/02/14 02:18:00 [notice] 1#1: start worker process 29
2024/02/14 02:18:00 [notice] 1#1: start worker process 30
2024/02/14 02:18:00 [notice] 1#1: start worker process 31
2024/02/14 02:18:00 [notice] 1#1: start worker process 32
2024/02/14 02:18:00 [notice] 1#1: start worker process 33
2024/02/14 02:18:00 [notice] 1#1: start worker process 34
2024/02/14 02:18:00 [notice] 1#1: start worker process 35
2024/02/14 02:18:00 [notice] 1#1: start worker process 36
2024/02/14 03:11:19 [notice] 1#1: signal 3 (SIGQUIT) received, shutting down
2024/02/14 03:11:19 [notice] 29#29: gracefully shutting down
2024/02/14 03:11:19 [notice] 30#30: gracefully shutting down
2024/02/14 03:11:19 [notice] 31#31: gracefully shutting down
2024/02/14 03:11:19 [notice] 32#32: gracefully shutting down
2024/02/14 03:11:19 [notice] 33#33: gracefully shutting down
2024/02/14 03:11:19 [notice] 34#34: gracefully shutting down
2024/02/14 03:11:19 [notice] 35#35: gracefully shutting down
2024/02/14 03:11:19 [notice] 29#29: exiting
2024/02/14 03:11:19 [notice] 30#30: exiting
2024/02/14 03:11:19 [notice] 32#32: exiting
2024/02/14 03:11:19 [notice] 31#31: exiting
2024/02/14 03:11:19 [notice] 33#33: exiting
2024/02/14 03:11:19 [notice] 34#34: exiting
2024/02/14 03:11:19 [notice] 35#35: exiting
2024/02/14 03:11:19 [notice] 33#33: exit
2024/02/14 03:11:19 [notice] 35#35: exit
2024/02/14 03:11:19 [notice] 29#29: exit
2024/02/14 03:11:19 [notice] 31#31: exit
2024/02/14 03:11:19 [notice] 30#30: exit
2024/02/14 03:11:19 [notice] 34#34: exit
2024/02/14 03:11:19 [notice] 32#32: exit
2024/02/14 03:11:19 [notice] 36#36: gracefully shutting down
2024/02/14 03:11:19 [notice] 36#36: exiting
2024/02/14 03:11:19 [notice] 36#36: exit
2024/02/14 03:11:19 [notice] 1#1: signal 17 (SIGCHLD) received from 34
2024/02/14 03:11:19 [notice] 1#1: worker process 34 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: signal 29 (SIGIO) received
2024/02/14 03:11:19 [notice] 1#1: signal 17 (SIGCHLD) received from 33
2024/02/14 03:11:19 [notice] 1#1: worker process 33 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: worker process 35 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: signal 29 (SIGIO) received
2024/02/14 03:11:19 [notice] 1#1: signal 17 (SIGCHLD) received from 30
2024/02/14 03:11:19 [notice] 1#1: worker process 30 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: signal 29 (SIGIO) received
2024/02/14 03:11:19 [notice] 1#1: signal 17 (SIGCHLD) received from 32
2024/02/14 03:11:19 [notice] 1#1: worker process 29 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: worker process 32 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: signal 29 (SIGIO) received
2024/02/14 03:11:19 [notice] 1#1: signal 17 (SIGCHLD) received from 31
2024/02/14 03:11:19 [notice] 1#1: worker process 31 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: worker process 36 exited with code 0
2024/02/14 03:11:19 [notice] 1#1: exit
/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: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/02/14 03:20:43 [emerg] 1#1: host not found in upstream "serv-a:80" in /etc/nginx/conf.d/default.conf:2
nginx: [emerg] host not found in upstream "serv-a:80" in /etc/nginx/conf.d/default.conf:2
choi3179 commented 7 months ago