Add Apache status monitoring to Helm chart
Publish PHP Apache image / Build, test and push (push) Successful in 1m10s
Publish PHP Apache image / Build, test and push (push) Successful in 1m10s
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Values are supplied as environment variables so Kubernetes can configure
|
||||
# each site without replacing Apache's complete configuration.
|
||||
ServerName localhost
|
||||
ServerAdmin ${APACHE_SERVER_ADMIN}
|
||||
|
||||
# Keep the detailed status page inside the pod. The Prometheus exporter
|
||||
# sidecar shares the pod network namespace and is the only intended client.
|
||||
Listen 127.0.0.1:${APACHE_STATUS_PORT}
|
||||
ExtendedStatus On
|
||||
|
||||
<VirtualHost 127.0.0.1:${APACHE_STATUS_PORT}>
|
||||
ServerName localhost
|
||||
|
||||
<Location "/server-status">
|
||||
SetHandler server-status
|
||||
Require local
|
||||
</Location>
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user