Should my sitemap and robots.txt have http or https urls for the given scenario

by PirateApp   Last Updated August 09, 2019 17:04 PM - source

  • My website is running on node.js and runs in http on port 3000
  • I am using NGINX to enable https access so that all pages are served as https
  • I have placed my sitemap.xml and robots.txt inside the public folder of my express app
  • Should the URL's inside be http or https. They say you should not have both in the same file

Can someone kindly suggest?

Related Questions

Crawling only the sitemap on google webmaster tools

Updated January 26, 2018 17:04 PM