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
๊ตฌ๊ธ๋ง์ ํด๋ณด๋, ๋น์คํก ํ๊ฒฝ ๊ตฌ์ฑ ์ค ๋ชจ๋ํฐ๋ง์ ์์คํ ์ ๊ธฐ๋ณธ์ผ๋ก ์ค์ ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ ์ ์๋ค๊ณ ํฉ๋๋ค.

ํ๊ฒฝ ๊ตฌ์ฑ ์ค ๋ชจ๋ํฐ๋ง์ ์ํ๋ณด๊ณ ์์ ๊ฐํ๋จ์ ์ฒดํฌํ ๊ฒฝ์ฐ ํด๋น ํ์ผ์ด ์๋ ์์ฑ๋์ด ๋์ด์ ์๋ฌ๊ฐ ๋ฐ์ํ์ง ์์์ต๋๋ค.