Based on the orthogonal experimental method, a simulation case of the flow field of the ejector nozzle was designed to investigate the influence of the structural parameters of the ejector nozzle on the internal and external flow. This study explored the effects of throat area, outlet area, throat position, and ejector nozzle length on the ejector flow rate ratio, thrust coefficient, and net thrust coefficient. Subsequently, flow path geometry optimization was conducted to maximize the thrust coefficient or net thrust coefficient. The results revealed that the throat area ratio and the outlet area of the ejector nozzle are the primary factors affecting the aerodynamic performance. Compared to the baseline ejector nozzle model, the optimal model for thrust coefficient exhibited a 16.333% improvement, while the optimal model for net thrust coefficient demonstrated a significant enhancement of 46.674%.