rename express configuration to middleware configuration