Nginx in the Laravel stack

This page explains what Nginx means in the Laravel stack: how it is included, which base service it uses, and how it connects to the rest of the stack.

Nginx is one of the main services that defines the default shape of instances created from the Laravel stack.

Role

Primary

Base service

Nginx (Laravel)

Type

service

Stack fit

How Nginx fits into this stack

Nginx is one of the main services that defines the default shape of instances created from the Laravel stack.

This stack service is based on Nginx (Laravel) and keeps the service-specific setup for Laravel in one place.

It is linked to PHP inside the stack.

Version policy

Available versions include 1.29, 1.28, 1.27, 1.25.

Inclusion

Enabled by default: Yes

Required: Yes

Primary: Yes

Connections

backend: PHP

Storage

This stack service does not define persistent volume sizes.

Stack-specific technical details

Review the operational capabilities exposed by Nginx inside this stack, including backups, imports, configs, settings, cron, actions, storage, and service links where they exist.

Configs

Keep service config files versioned with the stack instead of rebuilding them per environment.

Laravel preset
Main
Virtual host

Settings

Tune service behavior per environment while keeping one reusable stack baseline.

Nginx docroot
Default value: public.

Volumes

Provision the persistent storage and shared volume relationships the stack expects.

Storage
Uses storage from PHP.