
[id='the-general-yaml-file-format_{context}']
= The general YAML file format

The {Thorntail} configuration item names correspond to the YAML configuration structure.

.YAML configuration
====
For example, a configuration item documented as `thorntail.undertow.servers.KEY.default-host` translates to the following YAML structure, substituting the `KEY` segment with the `default` identifier:

[source,yaml]
----
thorntail:
  undertow:
    servers:
      default:
        default-host: <myhost>
----
====

