-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
perf: remove dir redirection when useless in php_fastcgi #6698
Conversation
The |
/cc @mohammed90 re CI, I think we should set |
Using I wish Go handled them instead of throwing the burden on us... 😕 |
Yes, I'll avoid slashes. I like this convention but Go tools are totally broken when the branch name contains a slash, I always forget about that. |
Thanks for "backporting" the optimization! 👍 |
Remove the equivalent of this config if neither
{http.request.uri.path}/index.php
or{path}/index.php
appears intry_files
, as it useless:This prevents one useless filesystem access on the hot path.
Similar to dunglas/frankenphp#1180.