Update nginx.pm

It didn't work for me until I edited that condition to match the part of code where ipconfig rule is created.