How do I change the direction of this Hinge Joint?

So I have a simple door on a hinge joint that I just want to be able to be pushed open. No animations, no keypresses, just simply pushing it by the player walking through it. I am confused on how I can rotate the joint so is moves like a door, as when I click or drag on it nothing happens. And I would also appreciate some extra knowledge if there is anything else I need to know. Thanks!

I think the joint axis should be 0,1,0 and not 1,0,0