From: Tom Hughes Date: Sun, 23 Mar 2025 10:15:56 +0000 (+0000) Subject: Stop gps-tile redirecting server-status to https X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/e851aaf446cb56dd8c24972b8a6b241f2f8b1bf0 Stop gps-tile redirecting server-status to https --- diff --git a/cookbooks/gps-tile/templates/default/apache.erb b/cookbooks/gps-tile/templates/default/apache.erb index 9adf707dd..a1b7ba94c 100644 --- a/cookbooks/gps-tile/templates/default/apache.erb +++ b/cookbooks/gps-tile/templates/default/apache.erb @@ -47,6 +47,7 @@ RewriteRule ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 [R=permanent,L] # Redirect to https + RewriteCond %{REQUEST_URI} !^/server-status RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L] # Setup logging