From 9a88cf0215f56b8f683ee130904aef10b7253957 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 6 Oct 2025 12:01:25 +0100 Subject: [PATCH] web: Enable funding.json and .well-known/funding-manifest-urls --- cookbooks/web/templates/default/apache.frontend.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index e8c36f59c..d78fdcdab 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -178,6 +178,8 @@ ErrorLog /var/log/apache2/error.log SetEnv SECRET_KEY_BASE <%= @secret_key_base %> Alias /favicon.ico <%= node[:web][:base_directory] %>/rails/app/assets/favicons/favicon.ico Alias /openlayers <%= node[:web][:base_directory] %>/static/openlayers + Alias /funding.json <%= node[:web][:base_directory] %>/static/funding.json + Alias /.well-known/funding-manifest-urls <%= node[:web][:base_directory] %>/static/.well-known/funding-manifest-urls RedirectPermanent /stats https://planet.openstreetmap.org/statistics # @@ -339,6 +341,10 @@ ErrorLog /var/log/apache2/error.log Require all granted + + + ForceType text/plain + -- 2.39.5