HTTPS redirection on same entrypoint?

Hello everyone,

I use Traefik for a year now at work and at home. Everything works great, but I'm struggling with the same problem for a long time.

I would like to know if it is possible to make an https redirection on the same entrypoint.
For example, define an entrypoint with the port 12345 that allow making any request and the request is automatically redirect to http like that:
test.company.com:12345 --> https://test.company.com:12345

Or do we need to define obligatory two different entrypoints?
Thanks in advance.

I would like to know if it is possible to make an https redirection on the same entrypoint.

Yes.

Please can you please explain how?

Hi @Nittarab,

Depending on how you want to do it you can either:

2 Likes

Thanks @cakiwi, I created a new topc to expain my situation.

It can be related to this question