]> git.openstreetmap.org Git - chef.git/commitdiff
Stop gps-tile redirecting server-status to https master
authorTom Hughes <tom@compton.nu>
Sun, 23 Mar 2025 10:15:56 +0000 (10:15 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 23 Mar 2025 10:15:56 +0000 (10:15 +0000)
cookbooks/gps-tile/templates/default/apache.erb

index 9adf707ddd8cd0325062e79b4b92c873e5fd8782..a1b7ba94cf9c8e1e865d45511f91f4d3f7463513 100644 (file)
@@ -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