Process Flow - Try_files directive
Request comes in
Try first file
Serve file
No
Try second file
Serve file
No
Fallback URI
Serve fallback or error
The try_files directive checks files in order and serves the first existing one, or falls back to a URI if none exist.