Dynamic configuration based on request url #965
Unanswered
DanielPower
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to route the wildcard subdomain
https://*.localhost:8080
tohttps://*.mydomain.com
. I recognize that this is achievable by using a function router. However I'm not sure if it's possible to make other config fields dynamic based on the request url. For example, I also needcookieDomainRewrite
andheaders
to change based on the subdomain.Ideally I'd like to be able to do something like the following example, where the config can be re-computed for each request.
From reading the documentation, I'm not sure if this is currently achievable with the library. But if you have any ideas, I'd greatly appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions