I am trying to match all paths that begin with /newsletter/ except one (/newsletter/one) with a regex. What I have so far:
location ~ ^/newsletter/(.*)$ {
// configuration here
}
This matches all the paths that begin with /newsletter/.
How do I make an exception for the path /newsletter/one ?