I was trying to increase client_max_body_size limits in my nginx.conf
file, but after executing service nginx restart
, the system returned an error:
2017/02/21 14:39:18 [emerg] 17371#0: SSL_CTX_use_certificate_chain_file
("/etc/letsencrypt/live/mywebsiteaddress.com/fullchain.pem")
failed (SSL: error:0200100D:system library:fopen:Permission
denied error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL
routines:SSL_CTX_use_certificate_chain_file:system lib)
nginx: configuration file /etc/nginx/nginx.conf test failed
I have no idea what might be the issue. Can somebody please help me? Thank you!
Some solutions suggest to check sestatus -v
- but all I get is sestatus: command not found
I'm on Ubuntu 12.04.5 LTS.