Replies: 1 comment
-
I solved it!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using
traefik
3.3.1.I am trying to redirect all traffic from
non-www
towww
subdomain.Here is the snippet from docker-compose:
Here is the snippet from
config.yml
:And here is the snippet from
traefik.yml
:The
http->https
redirect works as expected, but redirectinghttps://mydomain.org -> https://www.mydomain.org
does not.Firefox keeps the
non-www
version and issues a certificate warning.Is there something wrong with the config?
EDIT: When trying with
https://mydomain.org
, here is thetraefik
log:To me this reads as
traefik
not having a cert formydomain.org
, but only for the workingwww.mydomain.org
. So it seems redirect towww
is not working.Beta Was this translation helpful? Give feedback.
All reactions