Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid configuration: unknown try policy first_exist_fallback #6726

Closed
crrodriguez opened this issue Dec 4, 2024 · 1 comment · Fixed by #6727
Closed

invalid configuration: unknown try policy first_exist_fallback #6726

crrodriguez opened this issue Dec 4, 2024 · 1 comment · Fixed by #6727

Comments

@crrodriguez
Copy link

master branch, this config

http://foo.example.com http://example.local {
bind unix//run/caddy/for-cloudflared|0222
root * /srv/www/htdocs
php_fastcgi unix//run/php-fpm/php.socket
file_server
}

results in

Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 2: loading matcher modules: module name 'file': http.matchers.file: invalid configuration: unknown try policy first_exist_fallback

@francislavoie
Copy link
Member

Ah sorry, we missed a spot. Fixed in #6727

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants