configure for wsgi