File Format and Structure

Above is an example of a config file with a few Conditions and Rules.

Our config file allows to specify how site requests will be handled. The general structure of a file is:

[Condition#1] [args]

  [Rule#1] [args]

  [Rule#2] [args]

So far these conditions are supported:

Location

NotFound

Location supports exact path or express-like wildcards.

Additionally, any plugin can define it's own rules or conditions (more on that to follow).