nginx 403 Forbidden error

A request to '/' will look for 'index.html' in '/src/grafana/dist'.

Confirm that: 1. 'index.html' exists. 2. You have the right permissions. nginx has read-access to the entire directory tree leading up to 'index.html'. That is, it must be able to read directories 'src', 'src/grafana' and 'src/grafana/dist' as well as 'index.html' itself. A hacky quick-fix to achieve this would be to do 'sudo chmod -R 755 /src', but I don't recommend it.


That's because you are hitting the first location block and the index file is not found.