Actually this is not a bug, but a question of site setup - what you want to do in case you want a site to respond on both with and without www and what you really want to happen.
There are many scenarios possible, following up some basic questions:
- do you want your site to be available on both domains without and with www?
- notice that those are two different domains! So they have separate cookies. This means that if user logs in to the www domain and then go to the site without www, different cookies will be send!
- do you want to appoint one domain as main? So users get redirected to the main domain when entering the other? Like redirecting automatically from www to without www
- then again note that you still have two different domains - so you will need to have different Let’s encrypt certificates for those - even if it is for redirect only.
So as you see a lot of questions to be answered, before settings can be done.
I think we should add a bit more Traefik settings to handle all those different settings and redirects