Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions charts/restarters/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,21 @@ spec:
{{- end }}
livenessProbe:
httpGet:
path: /healthz
path: /nginx-health
port: http
scheme: HTTP
initialDelaySeconds: 60
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /healthz
path: /nginx-health
port: http
scheme: HTTP
initialDelaySeconds: 45
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
{{- end }}

Expand Down
7 changes: 7 additions & 0 deletions charts/restarters/templates/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ data:
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml+rss;

# Nginx-only health check endpoint (no PHP-FPM dependency)
location /nginx-health {
access_log off;
return 200 "nginx ok\n";
add_header Content-Type text/plain;
}

# Handle Laravel routes (including /healthz)
location / {
try_files $uri $uri/ @php;
Expand Down