Rewriting https to http

On that note, one thing I noticed that is ambiguous is the following:
location ^~ /images/ { # config A }
location /images/icons/ { # config B }
According to my precedence listing, config B would never be invoked,
but would a request to /images/icons/ actually match config B? In
other words, if I were add the following...
location ~* "." { # config C }
...would a request to /images/icons/ be handled by A or C?