Score:0

Want to have BOTH case insensitve AND ^~ (stop regex)

sl flag
Dan

I am configuring an nginx server on Ubuntu 19.04. I want to have a location with BOTH modifiers ^~ AND ~* I want to stop looking at locations with the ^~ and want to be case insensitive. I have a requirement to stop searching for locations. Is this possible?

location ^~ /videos { // This works, but I also want this case insensitive.

}

Richard Smith avatar
jp flag
Regular expression locations are evaluated in order. If you want to stop matching other regular expressions, simply place this regular expression location before any other regular expression locations. There is no case insensitive prefix location.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.