mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
fileserver: Fix policy Validate()
oversight (#6727)
This commit is contained in:
parent
fb72793269
commit
d0123bd760
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ func (m MatchFile) Validate() error {
|
|||
switch m.TryPolicy {
|
||||
case "",
|
||||
tryPolicyFirstExist,
|
||||
tryPolicyFirstExistFallback,
|
||||
tryPolicyLargestSize,
|
||||
tryPolicySmallestSize,
|
||||
tryPolicyMostRecentlyMod:
|
||||
|
|
Loading…
Reference in a new issue