I am setting up a very simple file server system. I install nginx and set its root directory to
/home to make it serve files from users' home directories.
However, when I attempt to download files via
http://18.104.22.168/user1/testfile.bin with my browser, it says "403 Forbidden". When I connect to
http://22.214.171.124/ with my browser, however, it displays default index page that I've put in
How do I make nginx serve files from user directories? e.g.
Additionaly, If I wanted to exclude root directory
and system files
(say, all files whose names start with a dot)
from the files being served?