Hi!
I am quite new to docker - please excuse this possibly basic question.
Currently I am running to different docker based sites an my server (site1.domain.com and site2.domain.com).
Unfortunately only site2 gets automatically redirecty from http to https. Nevertheless https also work for site1 but redirection from http to https for site1 does not work.
The dynamic.yml where the redirection happens looks like this:
http:
routers:
https-redirect:
rule: 'HostRegexp(`{any:.*}`)'
middlewares:
- https-redirect
service: redirect-all
middlewares:
https-redirect:
redirectScheme:
scheme: https
services:
redirect-all:
loadBalancer:
servers:
- url: ""
Any idea what might cause that issue? Or any link to a good tutorial on redirecting?