regex - HostRegexp failed -
i'm trying use traefik hostregexp frontend rule. trying this:
hostregexp:{subdomain:.+}.p([0-9]+)+(env1|env2).mydomain.com
but doesn't work wanted.
i wanted traefik route apache server when these kind of url used: a.b.c.pxx.env1.mydomain.com a.b.c.pxx.env2.mydomain.com
clues ? have done wrong regexp ?
thanks @mkopriva regexp works perfectly.
the correct indeed:
hostregexp:{subdomain:.+.p([0-9]+)+(crm|ecom)}.mydomain.com
Comments
Post a Comment