getting nginx working in deployed version