nginx and reassign logic.