---
title: Config file template (newrelic-infra.yml)
source: https://docs.newrelic.com/docs/infrastructure/infrastructure-agent/configuration/file-template-yml
---

The infrastructure agent reads the `newrelic-infra.yml` file for its [configuration](https://docs.newrelic.com/docs/infrastructure/install-configure-infrastructure/configuration/configure-infrastructure-agent). You can find the latest configuration template in the [infra-agent repository on GitHub](https://github.com/newrelic/infrastructure-agent/blob/master/assets/examples/infrastructure/newrelic-infra-template.yml.example).

> #### 💡 TIP
>
> We recommend [linting](http://www.yamllint.com/) the YAML configuration files before using them to avoid formatting issues.

For more information on each setting, see [Infrastructure configuration settings](https://docs.newrelic.com/docs/infrastructure/install-configure-manage-infrastructure/configuration/infrastructure-configuration-settings).

> #### ⚠️ IMPORTANT
>
> Always [restart the agent](https://docs.newrelic.com/docs/infrastructure-start-stop-restart-check-agent-status) or your web server after changing settings.
