nginx,centos共に最新版を使用しています
systemctl start nginx
でnginxを起動しようとすると以下のエラーが出ます
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
そのため、
nginx -t
で構文がエラーがないか確認してみたところ以下のようなエラーメッセージが出ました
nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/www.example.com/fullchain.pem")failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/www.example.com/fullchain.pem','r')error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nfginx.conf test failed
調べてみるとSELinuxが原因らしいと見つかったので状態を確認したらdisabledになっています
firewallの設定がおかしいのかと思い、
firewall-cmd --list-serviceで確認したところ
ssh dhcpv6-client http https共に設定しています
これはどのようにすれば解決するのでしょうか?

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/10/05 06:36 編集
退会済みユーザー
2018/10/05 06:46 編集
2018/10/05 07:24
2018/10/05 07:25
2018/10/05 07:26
2018/10/05 07:26
2018/10/05 07:27
退会済みユーザー
2018/10/05 07:40