{ "apps": { "frankenphp": {}, "http": { "servers": { "srv0": { "listen": [ ":443" ], "routes": [ { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "handler": "vars", "root": "public/" }, { "encodings": { "br": {}, "gzip": {}, "zstd": {} }, "handler": "encode", "prefer": [ "zstd", "br", "gzip" ] } ] }, { "handle": [ { "handler": "static_response", "headers": { "Location": [ "{http.request.orig_uri.path}/" ] }, "status_code": 308 } ], "match": [ { "file": { "try_files": [ "{http.request.uri.path}/index.php" ] }, "not": [ { "path": [ "*/" ] } ] } ] }, { "handle": [ { "handler": "rewrite", "uri": "{http.matchers.file.relative}" } ], "match": [ { "file": { "split_path": [ ".php" ], "try_files": [ "{http.request.uri.path}", "{http.request.uri.path}/index.php", "index.php" ] } } ] }, { "handle": [ { "handler": "php", "split_path": [ ".php" ] } ], "match": [ { "path": [ "*.php" ] } ] }, { "handle": [ { "handler": "file_server" } ] } ] } ], "match": [ { "host": [ "testbdashboard.dot-dot.ru" ] } ], "terminal": true } ] } } } } }