Make DN configurable, use nginx handlers.