Skip to content

fix(k8s): set FASTCGI_LISTEN_STATUS in nginx-config.env - #455

Open
Andrainarivo wants to merge 1 commit into
MISP:masterfrom
Andrainarivo:fix/nginx-fastcgi-status-k8s
Open

Andrainarivo wants to merge 1 commit into
MISP:masterfrom
Andrainarivo:fix/nginx-fastcgi-status-k8s

Conversation

@Andrainarivo

Copy link
Copy Markdown

nginx/files/status.conf reads ${FASTCGI_LISTEN_STATUS} for its /fpm-status location, but kubernetes/nginx-config.env never sets it - unlike FASTCGI_LISTEN, which is correctly set to misp-php:9002. The image falls back to a Docker Compose-era default (misp-core), which does not resolve as a Kubernetes Service name (the Service here is misp-php), so nginx crash-loops on startup. Fixes #454

…tatus.conf reads ${FASTCGI_LISTEN_STATUS} for its /fpm-status location, but kubernetes/nginx-config.env never sets it - unlike FASTCGI_LISTEN, which is correctly set to misp-php:9002. The image falls back to a Docker Compose-era default (misp-core), which does not resolve as a Kubernetes Service name (the Service here is misp-php), so nginx crash-loops on startup. Fixes MISP#454

Signed-off-by: Andrainarivo <ralaiarisoaandrainarivo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nginx crash-loops on Kubernetes: FASTCGI_LISTEN_STATUS never set in kubernetes/nginx-config.env

1 participant