What if the directory contains an HTML file that is to be viewed in a directory? By default nginx provides index.html as a filename that will automatically be shown if it exists in a directory that is visited. That is a common name for an index file used for showing a page for a directory.

If you have a directory in your directory that has a file named index.html, index.html will be used for the result page. In order to get a directory listing in the result for visiting a directory, a custom index.php file is used. It's not just pasted into the directory.

A soft link is used to reference index.php within shed/. That index.php is what shows the directory listing. It's being adjusted to check for __html.xml files.
[ Wed Oct 15 02:35:19 PM EDT 2025 ]