Making nginx locations for secure/nonsecure URLs use regular expressions...

... by adding ~