nginx: [emerg] open() "/var/log/nginx/web/error.log" failed (13: Permission denied) code example
Example 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;
Example 2: nginx: [emerg] bind() to [::]:4433 failed (13: Permission denied)
semanage port -a -t http_port_t -p tcp 8090