29 lines
570 B
Plaintext
29 lines
570 B
Plaintext
; PHP-FPM pool configuration for Laravel
|
|
|
|
[www]
|
|
user = www-data
|
|
group = www-data
|
|
|
|
; Listen on TCP (needed for Docker networking with Caddy)
|
|
listen = 9000
|
|
listen.owner = www-data
|
|
listen.group = www-data
|
|
|
|
; Process management
|
|
pm = dynamic
|
|
pm.max_children = 10
|
|
pm.start_servers = 2
|
|
pm.min_spare_servers = 1
|
|
pm.max_spare_servers = 3
|
|
pm.max_requests = 500
|
|
|
|
; Healthcheck ping endpoint
|
|
ping.path = /ping
|
|
ping.response = pong
|
|
|
|
; Pass environment variables from Docker into PHP
|
|
clear_env = no
|
|
|
|
; Access log to /dev/null (access logs bloat container logs)
|
|
access.log = /dev/null
|