[HY-757] Add middleware configuration example to readme