Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-03-17 19:15
Flavor·PCRE2 (PHP)

/
^\/(?!\.well-known\/).*
/
mg
Open regex in editor

Description

Will match typical urls such as:

/
/somepage
/some/nested/page

Will not match URLs starting with

/.well-known/

Intended to allow auto-renewals of certs for domains that just redirect.

Submitted by anonymous