robots.txt and sitemap.xml site.webmanifest


Hello im having touble to load files robots.txt and sitemap.xml site.webmanifest form https://example.com/robots.txt for example, since magento root directory is set under /pub through nginx.conf.sample (from Magento 2 installation). I can load files from http://example.com/pub/robots.txt but its not what i want. I want to be able to load files like https://example.com/robots.txt https://example.com/sitemap.xml etc. Any ide how to solve this?