← Back
Editing: autosave.json
{"apps":{"frankenphp":{},"http":{"servers":{"srv0":{"automatic_https":{"disable":true},"listen":[":80"],"routes":[{"handle":[{"handler":"vars","root":"/app/public"}]},{"handle":[{"handler":"headers","response":{"deferred":true,"delete":["ETag"],"set":{"Cache-Control":["public, max-age=31536000, immutable"]}}}],"match":[{"path":["*.ico","*.css","*.js","*.gif","*.jpg","*.jpeg","*.png","*.svg","*.woff","*.woff2"]}]},{"handle":[{"handler":"headers","response":{"deferred":true,"delete":["X-Powered-By"]}},{"encodings":{"gzip":{},"zstd":{}},"handler":"encode","prefer":["zstd","gzip"]}]},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"headers","response":{"set":{"X-Wp-Rocket-Cache":["HIT-CADDY"]}}}]},{"group":"group0","handle":[{"handler":"rewrite","uri":"/wp-content/cache/wp-rocket/{http.request.host}{http.request.uri}index-https.html"}]},{"handle":[{"handler":"file_server","hide":["/etc/frankenphp/Caddyfile"]}]}]}],"match":[{"file":{"try_files":["/wp-content/cache/wp-rocket/{http.request.host}{http.request.uri}index-https.html"]}}]},{"handle":[{"handler":"static_response","headers":{"Location":["./{http.request.orig_uri.path.file_escaped}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}{http.matchers.file.remainder}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"]}}]},{"handle":[{"handler":"php","server_index":1,"split_path":[".php"]}],"match":[{"path":["*.php","*.php/*"]}]},{"handle":[{"handler":"file_server","hide":["/etc/frankenphp/Caddyfile"]}],"match":[{"not":[{"path":["*.php","*.php/*"]}]}]},{"handle":[{"handler":"static_response","status_code":404}],"match":[{"path":["*.php","*.php/*"]}]}]}}}}}
Save File
Cancel