Fredrik said:
The "obvious" argument is that if it isn't, then the proper length of the rocket must be changing, and that contradicts the rigidity assumption.
Actually, I was thinking the obvious argument was more like "symmetry under boosts", but I suppose that amounts to the same thing -- the entire setup is the same, it just occurs at a different place and orientation in space-time.
But is it obvious that we can measure "proper length" by timing a light signal even when the rocket is accelerating?)
I'd be mildly surprised if this procedure turns out to be the proper length! But we can compute:
Let's fix a concrete trajectory for the front and back of the rocket. I'll choose hyperbolas centered at the origin, and choose units so that
c = 1 and everything works out. Let the tail of the rocket be given by the worldline x^2 - t^2 = 1 and the head of the rocket be given by x^2 - t^2 = 4. (So the length of the rocket is 1)
Suppose we emit a photon from the tail at the event (0, 1). Its worldline is given by the equation
x = 1 + t, and it arrives at the head at the event (3/2, 5/2). When it's reflected back, its worldline is
x = 4 - t, which arrives at the tail at the event (15/8, 17/8).
Since the parametrization by proper time of the tail's worldline is (t, x) = (\sinh \tau, \cosh \tau), we find that the round trip time is \tau = \tanh^{-1}(15/17) \approx 1.39, as measured by the tail of the rocket.
Let's continue.

The photon reflects again, with worldline x = (1/4) + t. This arrives at the head at the event (63/8, 65/8). The head's worldline is parametrized by (t, x) = (2 \sinh (\tau / 2), 2 \cosh (\tau / 2)). The times at the two photon strikes are:
\tau = 2 \tanh^{-1}(63/65) \approx 4.16
\tau = 2 \tanh^{-1}(3/5) \approx 1.39
for a round trip time of approximately 2.77.
Upon reflection (ha ha), I would have been
very surprised if this procedure could measure the length of the rocket, since I knew the front clock would be running faster than the rear clock, so there's no way they could have agreed on the length of the rocket if they were measuring the round trip time experienced by a photon!