Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Add robots.txt

Russ Garrettdfce31be04d6
diff --git a/web/nginx-site.conf b/web/nginx-site.conf
index a7e58cb..9758c5b 100644
--- a/web/nginx-site.conf
+++ b/web/nginx-site.conf
@@ -22,6 +22,10 @@ server {
expires 365d;
}
+ location /robots.txt {
+ expires 1d;
+ }
+
location / {
expires 60s;
index index.html index.htm;
diff --git a/web/public/robots.txt b/web/public/robots.txt
new file mode 100644
index 0000000..3d2c17b
--- /dev/null
+++ b/web/public/robots.txt
@@ -0,0 +1 @@
+Sitemap: https://openinframap.org/sitemap.xml
\ No newline at end of file