A late second half free-kick from Tom Knowles proved decisive as Forest Green edged out Eastleigh 1-0, despite a spirited defensive display from the Spitfires.