This question already has an answer here:
- 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
- Nginx I assume redirects HTTP traffic to HTTPS
Can someone kindly suggest?