[nginx] [warn] protocol options redefined for 0.0.0.0:443 in ...
# nginx -t
nginx: [warn] protocol options redefined for 0.0.0.0:443 in /etc/nginx/conf./???.conf:10
nginx의 conf 파일에 들어간 listen 지시자에 아래처럼 ssl이 빠지면 이런 경고문이 나올 수 있다.
server {
        listen 443;이 경우에는 443 뒤에 ssl을 넣어 준다.
server {
        listen 443 ssl;![미리보기 그림 - [nginx] [warn] protocol options redefined for 0.0.0.0:443 in ...](/plugins/JP_ThumbnailListViewTC/images/no_screenshot.png)
![미리보기 그림 - [nginx] [PHP] File not found.](/thumbnail/6/JP_Thumb/coverphoto/thumb_4776164544.png.webp)
![미리보기 그림 - [nginx] nginx.conf의 if 문 안에 넣을 수 없는 명령들 - listen, http2, ssl_protocols, …](/thumbnail/6/JP_Thumb/coverphoto/thumb_3949641263.webp.webp)
덧글을 달아 주세요