#How to change the HTTPS port and other ?

22 messages · Page 1 of 1 (latest)

ancient parcel
#

Hello !

I want to know how can i change the HTTPS port, because actually i only see the "PORT" variable.

I want to know how can i manage LetsEncrypt and how can i change the docker container port and the TCP protocol.

Thanks a lot

tight rainBOT
#

Project ID: 0f5eadec-41b9-4d22-b1cf-efcaa05259b6

ancient parcel
#

0f5eadec-41b9-4d22-b1cf-efcaa05259b6

oak fiber
#

you can change the PORT by simply adding a PORT service variable and setting it to the port you want it to have
Always recommended to use the PORT railway provides when possible though

#

Why do you need LetsEncrypt?

ancient parcel
#

I have a problem with http call

oak fiber
#

Make sure you use https and not http

#

oh, you are but it's forcing http?

ancient parcel
#

Yes i don't understand why :/

#

The problem can be the HTTPS port ? or LetsEncrypt ?

oak fiber
#

Railway gives your site SSL themselves, you shouldn't be using LetsEncrypt

ancient parcel
#

Hmmm

#

Im lost tbh

#

So i can't change the https port on railway ?

oak fiber
#

Oh you meant like change it from 443 to something else?
you should be able to with a reverse proxy like caddy

#

Although I don't recommend using that method to fix the problem..

#

Not sure what the problem is though, best wait for someone who knows to pitch in i'd say

ancient parcel
#

How can i use the poxy caddy ?

ancient parcel
#

How can i desactavte the ssl ?

trail pasture
oak fiber
#

oh okay, thank you