Fix regex for nginx conf