Railway redirects to HTTPS from HTTP instead of going straight to HTTP

For some reason when I write my website's url (with a custom bought domain), it goes to HTTP, then gets 301 from railway and redirect to HTTPS. How can I change it so the link will go straight to HTTPS? link example: 1. I write domain.com 2. The URL leads to http://domain.com 3. Then redirect to https://domain.com
Website Domain Names, Online Stores & Hosting
Finding the perfect website domain is as easy as 1-2-3. Buy a domain name, build and host a website, and enjoy our professional online marketing tools.
Website Domain Names, Online Stores & Hosting
Finding the perfect website domain is as easy as 1-2-3. Buy a domain name, build and host a website, and enjoy our professional online marketing tools.
7 Replies
Percy
Percy5mo ago
Project ID: N/A
lieudusty123
lieudusty1235mo ago
N/A
Fragly
Fragly5mo ago
Does it still do that when you're in an incognito window?
lieudusty123
lieudusty1235mo ago
I don't see it on my own, but bots like google search console, meta sharing debugger shows the following:
No description
Brody
Brody5mo ago
well of course if you visit the site via http you're gonna get redirected to https
lieudusty123
lieudusty1234mo ago
I enter the url without writing HTTP. Look at the example I gave above
Brody
Brody4mo ago
most browsers will try to visit via http if not specified, I assure you this is normal and default behaviour, nothing incorrect is happening here