nginx: remove lookupvar and replace with top scope @ var

Change-Id: I5b5a7d3d9eb9f4cddabe8740aa669850b129f569
Merge "nginx: remove lookupvar and replace with top scope @ var" into production