Use Traefik TrueCharts without SSL

Constantin.FF

Dabbler
Joined
Apr 6, 2022
Messages
13
I am looking for config option in Traefik that would allow me to have some of the apps run without SSL.

The issue that I am facing is that Traefik default configuration always redirects http -> https.
It has `web-to-443` router that I can not disable.
So when I enter an app on port 80, Traefik response is always "Moved Permanently 301"

Is there a way to disable this redirect and allow apps to run without SSL?

In my case the reason for it is simplicity and no threats within the local network.
 

iptoux

Cadet
Joined
Jan 9, 2023
Messages
3
I am looking for config option in Traefik that would allow me to have some of the apps run without SSL.

The issue that I am facing is that Traefik default configuration always redirects http -> https.
It has `web-to-443` router that I can not disable.
So when I enter an app on port 80, Traefik response is always "Moved Permanently 301"

Is there a way to disable this redirect and allow apps to run without SSL?

In my case the reason for it is simplicity and no threats within the local network.
You can just set it to off!

if you use TrueNAS, go to your traefik app and hit "edit", on the field where you enter the default webport (80) there is an checkbox for "advanced settings" behind this checkbox is an option that will redirect default 80 to websecure, just remove the word websecure and traefik is working as exsppected.

And, hello, i'm new here in this community.
 

Attachments

  • Unbenannt.png
    Unbenannt.png
    8.7 KB · Views: 573

Constantin.FF

Dabbler
Joined
Apr 6, 2022
Messages
13
Thank you both @iptoux and @guiguijke

I had to do both of what you suggested:
1. put 'web' instead of 'websecure' in your app settings
2. remove "Redirect to entrypoint"

Unfortunately some of the truechart apps expect https, which is hardcoded
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
Thank you both @iptoux and @guiguijke

I had to do both of what you suggested:
1. put 'web' instead of 'websecure' in your app settings
2. remove "Redirect to entrypoint"

Unfortunately some of the truechart apps expect https, which is hardcoded

Not only on our side though, some applications simply require it.
It's a bad idea to run without https anno 2023 and there is simply no reason to. Domains are cheap, certs are free and applications don't even have to be public for validation.
 
Top