nginx and WordPress 403 forbidden error

I’ve been using nginx for our server and tried installing WordPress on it. Everything worked as expected and all of a sudden I started to see this error 403. After searching a while figured out that I need to enable auto listing for nginx. location /wordpress {...