You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depends on environment (dev/stage/prod) we have different domains and want to add env based locations in nginx template. Now we have to compare FQDN like:
{{ if eq $host.Upstream.Name "app1.testing.local" }}
...
{{ if eq $host.Upstream.Name "app2.testing.local" }}
...
{{ if eq $host.Upstream.Name "app999.testing.local" }}
...
We want something like:
{{ if eq $host.Upstream.domain "testing.local" }}
...
Thanks!
The text was updated successfully, but these errors were encountered:
Is it possible to get that variables?
Depends on environment (dev/stage/prod) we have different domains and want to add env based locations in nginx template. Now we have to compare FQDN like:
We want something like:
Thanks!
The text was updated successfully, but these errors were encountered: