Super awesome tutorial! However,
Beckah Sheeler

location takes a regex. So for the string you posted, \index.html:\S*$ should work. The ~* means ‘case-insensitive match’.

Like what you read? Give Patrick Berkeley a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.