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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -