What is the minimum distance a burn pit can be located from a rig?

What is the minimum distance a burn pit can be located from a rig?