728x90
๐ the "ssl" directive is deprecated, use the listen ...
Docker
๋ฅผ ์ด์ฉํด ๋ฐฐํฌ ํ๊ฒฝ์์ nginx.conf
๋ฅผ ์ธํ
ํ๊ณ ์คํ์ ํ๋๋ฐ ๋ค์๊ณผ ๊ฐ์ ๊ฒฝ๊ณ ๋ฌธ์ด ๋ด๋ค.
728x90
nginx_1 | 2022/03/10 22:11:52 [warn] 1#1: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:35
nginx_1 | nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:35
Error
๋ ์๋๊ธฐ์ ์ ์์ ์ผ๋ก ์คํ์ ๋์ง๋ง, ์๊พธ ๊ฑฐ์ฌ๋ ค์ ํด๊ฒฐํ๊ณ ์ถ์๋ค. ๊ฒฐ๋ก ์ ์ผ๋ก Nginx
์ ๋ฒ์ ์ด 1.15.0
์ด์์ด๋ผ๋ฉด ssl on;
๋๋ ssl off;
์ฝ๋๋ฅผ ์ ๊ฑฐํ๊ณ listen
์ ssl
์ ๋ถ์ฌ์ค๋ค.
# before
listen 443;
ssl on;
# after
listen 443 ssl;
reference
๋ฐ์ํ
'devOps > Nginx' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[ ์์ง์์ค(Nginx) ] nginx: [emerg] cannot load certificate BIO_new_file() failed SSL ์ค๋ฅ ํด๊ฒฐํ๊ธฐ (0) | 2022.03.14 |
---|
๋๊ธ