Ho to apply .yaml or .properties file configurations in tomcat container

While reading the docs I see how I can modify various settings, via application.yaml file. For example - disabling a redirect which I want to do in this case: Web applications | docs.camunda.org

My question is - how to apply this when using camunda’s StandaloneProcessEngineConfiguration in a tomcat container?

Adding application.yaml or application.properties to /camunda/conf folder with contents:

camunda.bpm.webapp.index-redirect-enabled=false

seems to not have any effect - I am still getting redirected. What am I doing wrong?

Thanks!