File Format and Structure

0
Location /about
1
Delay 1000
2
Rewrite /about.html
3
4
Location /pricing
5
Redirect /301
6
7
Location /features/*
8
Respond "Sorry you can't see this page" 403

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).