This part:
# If the requested file does not exist, try index files
@indexFiles file {
try_files {path} {path}/index.php index.php
split_path .php
}
rewrite @indexFiles {http.matchers.file.relative}
Might need to be overwritten in this case as we’ve put the main site in an arbitrary subdirectory. e.g.
try_files {path} {path}/index.php /my_subdir/index.php