Intro
μλ νμΈμ. beanstalk λΉμ€ν‘μ μ¬μ©νμ¬ λ°°ν¬ νκ²½μ ꡬμ±νλ λμ€ μλμ μλ¬κ° λ°μνμ΅λλ€.
healthd.conf not foud
[ERROR] An error occurred during execution of command [app-deploy] - [start proxy with new configuration]. Stop running the command. Error: copy proxy conf from staging failed with error validate nginx configuration failed with error Command /bin/sh -c /usr/sbin/nginx -t -c /var/proxy/staging/nginx/nginx.conf failed with error exit status 1. Stderr:nginx: [emerg] open() "/var/proxy/staging/nginx/conf.d/elasticbeanstalk/healthd.conf" failed (2: No such file or directory) in /var/proxy/staging/nginx/nginx.conf:54
nginx: configuration file /var/proxy/staging/nginx/nginx.conf test failed
Why?
ν΄λΉ μΈμ€ν΄μ€ κ²½λ‘λ‘ λ€μ΄κ° νμΈμ ν΄λ³΄λ healthd.conf νμΌμ΄ μμ±λμ΄ μμ§ μμ κ²μ λ³Ό μ μμμ΅λλ€. κ²½λ‘λ μλμ κ°μ΅λλ€.
/var/proxy/staging/nginx/conf.d/elasticbeanstalk/healthd.conf
How to solve the problem
ꡬκΈλ§μ ν΄λ³΄λ, λΉμ€ν‘ νκ²½ κ΅¬μ± μ€ λͺ¨λν°λ§μ μμ€ν μ κΈ°λ³ΈμΌλ‘ μ€μ νλ©΄ λ€μκ³Ό κ°μ μλ¬κ° λ°μν μ μλ€κ³ ν©λλ€.
νκ²½ κ΅¬μ± μ€ λͺ¨λν°λ§μ μνλ³΄κ³ μμ κ°νλ¨μ 체ν¬ν κ²½μ° ν΄λΉ νμΌμ΄ μλ μμ±λμ΄ λμ΄μ μλ¬κ° λ°μνμ§ μμμ΅λλ€.