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

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -