I need to build regex to match all words starting with . but also white flag words like .well-known
.. or some similar..
For now I have build the one that's complete opposite,, this one captures ONLY this one. I tried to find some regex symbol for invert but that doesn't exist I think..
location ~ /^(\.well-known) {
deny all;
}
thx