The seat: support behind, space in front, no head-on door
Old texts want a solid back — not a corridor, not a door, not a large window. It holds up today: with movement behind you, attention is pulled away again and again, and both output and mood suffer. A desk square to the door (the first thing every arrival sees) is the same problem.
If the room cannot change, add a half-height screen, raise the chair back, or angle the desk so your eyeline is not held by the doorway.