Im pretty sure its the second one
Nonagons and other polygons can also be classified as either convex or concave. If all interior angles of a nonagon are less than 180°, it is convex. If one or more interior angles is larger than 180°, it is concave. A regular nonagon is a convex nonagon.