location = /robots.txt { return 200 "User-agent: * {{if .RobotsDisallow}}{{range .RobotsDisallow}}Disallow: {{.}} {{end}}{{end}} {{if .RobotsAllow}}{{range .RobotsAllow}}Allow: {{.}} {{end}}{{end}}"; }