nginx (2) 썸네일형 리스트형 Nginx SSL (https) 설정 후 서비스 재시작 에러(system library:fopen:Permission denied:fopen) Nginx SSL 설정 후 서비스 재시작 시 nginx 가 start 되지 않고, systemctl status nginx 하면 에러가 발생할 수 있다. nginx: [emerg] cannot load certificate "/etc/nginx/ssl/인증서명.pem": BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen('/etc/nginx/ssl/인증서명...new_file:system lib) Selinux context 처리가 필요하다. Restorecon -v -R /etc/nginx/ssl/ restorecon -v -R /etc/nginx/ssl/ restorecon 명령어는 직접 보안 .. NGINX the "ssl" directive is deprecated, use the "listen ... ssl" 경고 NGINX 에 SSL 적용 시, "the "ssl" directive is deprecated, use the "listen ... ssl"" 라고 경고 메시지가 발생 한다면, 아래 그림처럼 Listen 구문에 ssl 이라고 추가 해 줘야 합니다.Nginx 1.15 버전 이후부터 바뀌었다고 하네요. 이전 1 다음