Regex do not match

Hello, can someone please help me and tell me why this regex

location ~ /(.)/wp-content(/.) {
[…]
}

does not match this URL
http://www.mysite.com/mydir/wp-content/my_image/foo.jpg ?

I just have this other directive in the server section

location / {
[…]
}

Thanks


Simone

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs