I searched a lot and everyone says add these in config file and it will work:
location /my_directory {
autoindex on;
}
I opened /etc/nginx/nginx.conf file and added it under http
but service did not start. Added it under http -> server
and received 403 forbidden error
.
I have no idea about nginx. Can someone tell me easily about what should I do?
Thanks