Ok to travel?

I plan on checking with my OB, but wanted to get your opinion first. 
What's the latest I am "allowed" to travel prior to due date?
 I am needing to take a trip (12 hours of driving or 3 hour flight) and hoping to schedule it a month before I'm due. 
Any suggestions?