From 86022e60ca1deab5076404958d1b14c563afe723 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 1 Dec 2026 12:08:52 +0000 Subject: [PATCH] Preserve mod_status IP restrictions for www --- cookbooks/web/templates/default/apache.frontend.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index 5c6386ce7..2c025f519 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -267,6 +267,9 @@ ErrorLog /var/log/apache2/error.log # Restrict access to CDN nodes and admins + # Merge with existing rules such as mod_status rules + AuthMerging and + # Connections that came through the CDN Require expr "%{CONN_REMOTE_ADDR} != %{REMOTE_ADDR}" # Fastly POPs <% @fastly.sort.each do |address| -%> -- 2.47.3