Question
403 forbidden error when insatlling rails+nginx+passenger
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
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×