Fix app config header not substituting variables