By anilapu
root@navaratanhosts:/opt/nginx/logs# tail -f /var/log/nginx/error.log 2014/02/20 08:05:52 [error] 19961#0: *5 directory index of “/home/uvarsity/” is forbidden, client: 122.169.168.13, server: localhost, request: “GET / HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:52 [error] 19961#0: *5 rewrite or internal redirection cycle while internally redirecting to “/index.html”, client: 122.169.168.13, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *6 directory index of “/home/uvarsity/” is forbidden, client: 122.169.168.13, server: localhost, request: “GET / HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *6 rewrite or internal redirection cycle while internally redirecting to “/index.html”, client: 122.169.168.13, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *7 directory index of “/home/uvarsity/” is forbidden, client: 122.169.168.13, server: localhost, request: “GET / HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *7 rewrite or internal redirection cycle while internally redirecting to “/index.html”, client: 122.169.168.13, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *8 directory index of “/home/uvarsity/” is forbidden, client: 122.169.168.13, server: localhost, request: “GET / HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *8 rewrite or internal redirection cycle while internally redirecting to “/index.html”, client: 122.169.168.13, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *9 directory index of “/home/uvarsity/” is forbidden, client: 122.169.168.13, server: localhost, request: “GET / HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:05:53 [error] 19961#0: *9 rewrite or internal redirection cycle while internally redirecting to “/index.html”, client: 122.169.168.13, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “128.199.233.97” 2014/02/20 08:08:16 [error] 19961#0: *10 directory index of “/home/uvarsity/” is forbidden, client: 150.214.164.140, server: localhost, request: “HEAD / HTTP/1.0”
How to overcome this problem
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
make sure your give your home folder chomd 755 permission. <br> <br>it is better to create a custom root folder for your site and give the main folder chomd 755 <br> <br>
<pre>2014/02/20 08:08:16 [error] 19961#0: *10 directory index of “/home/uvarsity/” is forbidden, client: 150.214.164.140, server: localhost, request: “HEAD / HTTP/1.0”</pre>nginx is trying to serve /home/uvarsity but there aren’t any index files so it’s returning a 403 error. <br> <br>Can you pastebin your nginx config?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.