Tuesday, April 12, 2016

13: Permission denied

If you encounter the following error in Nginx:

2016/04/12 15:32:47 [error] 148862#0: *117 "/home/izeye/programs/nginx/html/index.html" is forbidden (13: Permission denied), client: 1.2.3.4, server: localhost, request: "GET / HTTP/1.1", host: "10.20.30.40"

check if any execution permision on directory is missed.

If `/home/izeye` has no execution permission, use the following command:

sudo chmod o+x /home/izeye

Reference:
http://stackoverflow.com/questions/6795350/nginx-403-forbidden-for-all-files

No comments:

Post a Comment