AEMaaCS robots.txt
I have to create robots.txt file for my project.
We are using AEMaaCS. My questions are -
1. Where should I put the file? Should it be under /content/dam/project_name or somewhere else?
2. Should it be generated manually or dynamically using a servlet?
Are there any good and updated resources to refer? Currently, I am referring the below but these are a bit unclear and pretty old as well.
http://www.wemblog.com/2013/06/how-to-implement-robotstxt-sitemapxml.html
https://adobe-consulting-services.github.io/acs-aem-commons/features/robots-txt/index.html
Can someone please guide me in the right direction?