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

  • 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


Updated March 20, 2016 08:01 AM

Updated March 08, 2017 22:04 PM

Updated April 07, 2016 08:01 AM

Updated April 17, 2015 21:01 PM

Updated January 26, 2018 17:04 PM