0

I have some trouble with NGINX on my server. I previously used Apache. When I try to request folder contents on my server (like, 192.168.0.128/files), I get a 403 Forbidden error. Anyone know how to solve this? I tried to give permissions blah blah blah, nothing worked.

Thanks.

1 Answer 1

2

You will want to confirm that autoindex is on in for the location you've defined in nginx.conf. You don't give your config, but it seems like you'd want something like

location / {
    autoindex on;
    root </path/to/server/root>
    index index.html
}
1
  • (Also, if this answer helped you, consider selecting it as your preferred answer!) Nov 7, 2018 at 15:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .