DoTheEvo / Traefik-v2-examples

Traefik v2 guide by examples
618 stars 73 forks source link

Backticks missing on hostregex #1

Closed mcchots closed 4 years ago

mcchots commented 4 years ago

Hi, firstly Thanks for this guide. It sorted out my HTTPS redirection that I've been struggling with for days.

on the hostregex rule in the HTTP to HTTPS redirection section, you are missing the backticks. It should be: - "traefik.http.routers.redirect-https.rule=hostregexp({`host:.+`})"

DoTheEvo commented 4 years ago

thnx, they needed escaping in the explanation text...