add nginx request handler to env