YAML – Watch those indents

YAML – Watch those indents

The H2O webserver configuration file (h2o.conf) is YAML animal.

As I learned the hard way, spaces used to indent in YAML are super important.

Notes re YAML syntax:
as it pertains to h2o.conf: https://h2o.examp1e.net/configure/syntax_and_structure.html#yaml_alias

How to validate your YAML:

http://www.yamllint.com/

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz