How to create a sitemap.xml and Robots.txt on nginx server

Hi, reader. I am not a developer. But i wanted to know any way to create sitemap.xml and Robots.txt on nginx server.