Skip to content

Commit

Permalink
fix: default split path for php-server command (#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlliBalliBaba authored Nov 2, 2024
1 parent 69c43ee commit ee8e1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caddy/php-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func cmdPHPServer(fs caddycmd.Flags) (int, error) {
}

const indexFile = "index.php"
extensions := []string{"php"}
extensions := []string{".php"}
tryFiles := []string{"{http.request.uri.path}", "{http.request.uri.path}/" + indexFile, indexFile}

rrs := true
Expand Down

0 comments on commit ee8e1b9

Please sign in to comment.