Refactored nginxEntry. Put it like rest of deployer code.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>