Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

drazic2012's avatar

Forge admin redirect always includes .well-known folder

Hi all,

I've got a pretty specific request - I have been asked to setup redirects in Forge for multiple domains using the admin 'Redirects' tab (as opposed to a custom blocks in an Nginx file).

The issue I have is that no matter what I do, I cannot get the redirect to ignore the .well-known folder, which means that Let's Encrypt auto renewals fail. This is a pain, as some browsers throw errors when a redirected URL isn't secure. I've tried a number of different patterns, with the one I expected to work being ~ ^/(?!\.well-known/.*) (which seems to work when I apply it manually to a location block, but not in a Forge admin redirect).

Does anyone have any experience or suggestions outside of manually editing the Nginx config?

Thanks.

0 likes
0 replies

Please or to participate in this conversation.