docker-php icon indicating copy to clipboard operation
docker-php copied to clipboard

Fix blocking .well-known path for FrankenPHP

Open marns93 opened this issue 3 weeks ago • 1 comments

Fixes: https://github.com/serversideup/docker-php/issues/626

The newest variation frankenphp is blocking everything under .well-known/. The following line is responsible for this https://github.com/serversideup/docker-php/blob/9b6868e8facc60b4f17a8898c8eb85c3db10c801/src/variations/frankenphp/etc/frankenphp/Caddyfile#L131

In this PR I've whitelisted some commonly used paths under .well-known/. For security reasons I don't want to allow everything, so I've whitelisted some of them. The list can be extended in the future.

marns93 avatar Dec 16 '25 09:12 marns93

Thanks for the PR! I will review soon 👍

jaydrogers avatar Dec 16 '25 14:12 jaydrogers