Report question

Question: how to use a variable inside a nginx "if" regular expression