Commit Briefs


Omar Polo

`param' is forbidden inside `location's too

and while there sort the list of disallowed rules.


Omar Polo

misc improvements to the manual


Omar Polo

change (again) the env/param separator: use '='

Given that env/param are new features of this release, no support for the "old" syntax is needed.


Omar Polo

add => in env/param and `port' between hostname and port for fastcgi

In the same spite of the last commit, add the missing separators between strings to avoid the auto-concat pitfalls. `=>' is used to separate between `env' and `param' arguments, while for `fastcgi' the keyword `port' is required between the hostname/ip address and the port (if provided). Since `env', `param' and `fastcgi' are all new stuff, there's no need to keep compatibility.


Omar Polo

rename `mime MIME EXT' to `map MIME to-ext EXT'

With the newish automatic string concatenation, options like `mime' that accepts two strings as parameter start to become ambiguous: which strings gets concatenated? Instead of trying to document in the manpage which argument(s) is subject to string concatenation, do the concat always and introduce a separator. In the case of mime, `to-ext' now acts as a separator to distinguish. While there, also use a new keyword because it sounds better. It's dead-easy to upgrade to the new configuration, possibly with some sed magic, but for the moment the old `mime' form is preserved: (with a warning!) Will be dropped in the next release.


Omar Polo

revert 2c16dbd5486 -- macro names can't be reserved words

While one can define a macro using a reserved word as name using -Dname=val, inside the configuration file it'll fail.


Omar Polo

macro names can be reserved words


Omar Polo

fix macro example



Omar Polo

don't expand macros inside the quotes

Now that we have this auto concat string thingy, macros can simply expand to standalone strings in place, as single words. Forgot to point it out in previous commits, but now we can cert = "/etc/keys" server "foo" { cert $cert "/foo.crt" ... }




Omar Polo

document `log' option


Omar Polo

fix warnings in manpage

man -Tlint