Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Add www redirect

Russ Garrettfa3b3ab05dee
diff --git a/web-router/nginx.conf b/web-router/nginx.conf
index a973b36..22e7e62 100644
--- a/web-router/nginx.conf
+++ b/web-router/nginx.conf
@@ -95,4 +95,10 @@ http {
proxy_pass http://oim-web;
}
}
+
+ server {
+ listen 80;
+ server_name www.openinframap.org;
+ return 301 https://openinframap.org$request_uri;
+ }
}
\ No newline at end of file