Curve modifier - define affected points
You can use vertex groups to limit the effect of a curve modifier.

Create the vertex group manually or enter weight paint mode using Ctrl+Tab. Red means max weight, dark blue means no weight.