Add robots.txt on owner http
@@ -46,6 +46,12 @@ http {
root /usr/share/nginx/html;
}
+ location = /robots.txt {
+ add_header Content-Type text/plain;
+ allow all;
+ return 200 "User-agent: *\nSitemap: https://matchat.org/owner/sitemap.xml";
+ }
+
location / {
return 301 https://$server_name$request_uri;
}
