When deploying a Laravel Octane app with Swoole on Kubernetes (or AWS ECS), is a separate Nginx container required alongside the Octane app?
18:11 01 Jan 2024

In the context of Kubernetes (or AWS ECS), when deploying a Laravel Octane application using Swoole (or RoadRunner), is it essential to include a separate Nginx container (or any other web server) alongside the Octane app container?

Given that Laravel Octane utilizes Swoole (or RoadRunner) as a built-in web server, does the presence of Nginx remain necessary? Can the Octane app be directly exposed on port 80 to receive requests from a load balancer, such as the AWS Load Balancer, without needing an additional web server like Nginx?

laravel kubernetes nginx swoole laravel-octane