config without starting server; wrap handler