Restore redirect from http://openstreetmap.org to https://openstreetmap.org
[chef.git] / cookbooks / web / templates / default / apache.frontend.erb
index b40d3774d3c48a4866823c990f0e2e0e7895e22c..27a1b79b0760b8da0c593cbb831fe0a616eb0599 100644 (file)
   RewriteRule ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 [R=permanent,L]
 
   RewriteCond %{REQUEST_URI} !^/server-status$
-  RewriteRule ^(.*)$ https://www.openstreetmap.org$1 [L,NE,R=permanent]
+  RewriteRule ^(.*)$ https://openstreetmap.org$1 [L,NE,R=permanent]
 </VirtualHost>
 
 <VirtualHost *:443>