Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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;
 
PREVIOUS NEXT
Tagged: #open #error #log #failed #Permission
ADD COMMENT
Topic
Name
4+8 =