Generally nicht will go after all objects (such as es, mich, dir, Ihnen etc). However "du musst es nicht essen" and "du musst nicht es essen" are both acceptable in spoken German.
Thanks christian for your comments. And very helpful sentences.
So the modal verb that most closely resembles the English "must to" would actually be "dürfen".