In .htaccess I could redirect/rewrite index.php to index, and index.html to index.
I’ve tried the same in Caddy doing the following:
{
local_certs
}
rofl.test
root * /Users/Name/Sites/caddyprojects/rofl
#Tried this:
try_files {path}.php {path}
#Need this try_files to auto-find index
try_files {path} /index.php
file_server browse
This shows the index.php file when going to rolf.test/lol instead of lol.php.