checking for presence of IP address during publish, as it's necessary and a blank IP address leads to corrupt nginx configs that affect all services