Routes that Stargazer should server.
Expressed as a list of attribute sets. Each set must have a key route
that becomes the section name for that route in the stargazer ini cofig. The remaining keys and values become the parameters for that route.
Declarations
Type
list of (attribute set of (INI atom (null, bool, int, float or string)))
Default
[ ]
Example
[
{
route = "example.com";
root = "/srv/gemini/example.com"
}
{
route = "example.com:/man";
root = "/cgi-bin";
cgi = true;
}
{
route = "other.org~(.*)";
redirect = "gemini://example.com";
rewrite = "\1";
}
]