Lost access to my wordpress site
502 Bad Gateway
Things happen. Today i can’t go inside my wordpress site. Trying to aply some correction found in similar questions, nginx responded in my Putty:
nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (13: Permission denied)
2019/03/13 19:35:09 [warn] 9418#9418: the “user” directive makes sense only if t he master process runs with super-user privileges, ignored in /etc/nginx/nginx.c onf:1
2019/03/13 19:35:09 [emerg] 9418#9418: BIOnewfile(“/etc/letsencrypt/live/arun. com.br/fullchain.pem”) failed (SSL: error:0200100D:system library:fopen:Permissi on denied:fopen(’/etc/letsencrypt/live/arun.com.br/fullchain.pem’,‘r’) error:200 6D002:BIO routines:BIOnewfile:system lib)
nginx: configuration file /etc/nginx/nginx.conf test failed
Well, i need help to fix this, a step to step guidance.
Thanks a lot.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.