19 lines
591 B
Plaintext
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>
|