Just take 95 North. Nubble light is located in Sohler Park just 15 minutes or so off the turnpike.
Southern Maine is littered with photo opportunities. From Iconic lighthouses, to small fishing villages, rocky coast and interesting people. Just an hour or two north of Boston you can even find some skies dark enough to snag an image or two like this one taken at Nubble Lighthouse in Cape Neddick.