This conditional ensures that the NGINX API will only be deployed if enabled
Refactor template variables and configuration scripts