I'm serving Angular 2 application with nginx using location section this way: location / { try_files $uri $uri/ /index.html =404; } try_files directive tries to find the requested uri in root directory and if it fails to find one it simply returns index.html How to disable caching of index.html file? Continue reading...