Answers for "nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)"

1

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)

sudo chown -R www-data:www-data /var/log/nginx;
sudo chmod -R 755 /var/log/nginx;
Posted by: Guest on November-29-2020

Code answers related to "nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language