https://kotlinlang.org logo
#ktor
Title
# ktor
a

Alex Styl

12/14/2021, 10:59 AM
I installed an SSL certificate on my ktor server (Let’s Encrypt) and the HttpsRedirect to automatically switch to https calls instead of http. Is there a way to hide the port number from the url without having to use a reverse proxy?
a

Aleksei Tirman [JB]

12/14/2021, 11:17 AM
What do you mean by hiding a port number?
a

Alex Styl

12/14/2021, 1:39 PM
If you visit http://audiobites.io you’ll see that you get redirected to https://audiobites.io:8443 I was wondering if it is possible when someone visits http://audiobites.io to be redirected to https://audiobites.io instead
a

Aleksei Tirman [JB]

12/14/2021, 3:31 PM
Just use the default port 443.
a

Alex Styl

12/14/2021, 4:23 PM
worked like a charm. thanks!
i

IsaacMart

09/11/2023, 8:53 AM
Am stack at installing my ssl in ktor. Getting the apache default page.
108 Views