How to fix Error Nginx: (13: Permission denied) while connecting to upstream phptuts June 21, 2020 How to fix Error Nginx: (13: Permission denied) while connecting to upstream This error is due by SELinux, so, we can fix this error by this command: setsebool -P httpd_can_network_connect 1 phptuts