Environment variables vs Custom vars in AEM Cloud
Hi All,
In our dispatcher configuration we have the below include for custom variables -
Include conf.d/variables/custom.vars
Define BRAND_HTTP https://abc.com
We are defining a variable BRAND_HTTP which is set to abc.com.
We are further using the same configuration to set the X-Frame-Options as seen below
Header set X-Frame-Options "ALLOW-FROM ${BRAND_HTTP}"Now in the Cloud Manager, the environment variable BRAND_HTTP is pointing to xyz.com
However, in the request URL we are only seeing the abc.com from the variables.
@arunpatidar @estebanbustamante @aanchal-sikka @rohan_garg
Shouldn't the environment variable configuration be getting precedence?
We are already using environment variables to setup variables for ServerName and ServerAlias as seen below -
ServerName ${PUBLISH_BRAND_HOSTNAME}
