If you are using a 404.html as magic file, then directory listings don't work anymore. The 404.html is displayed instead. #### Environment Versions 1. Linux Mint 21.2 (Kernel 5.15.0-107) 1. Node version 12.22.9 1. http-server version 14.1.1