Files
php-apache/apache-status.conf
feedc0de 5acc3b0154
Publish PHP Apache image / Build, test and push (push) Successful in 1m10s
Add Apache status monitoring to Helm chart
2026-09-10 20:49:26 +02:00

19 lines
591 B
Plaintext

# 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>