Commits


invert the location precedence: first match wins It's how httpd(8) does it, and it allows us to call fnmatch less time


puny_decode: set an error string


punycode: refactoring use the correct term "label" instead of "component" when speaking about the parts of a hostname. Also, fix the sizes for max hostname and label.


delete unused constant


remove unused function


improve configuration parsing error


const-ify strings in struct location


use starts_with in puny.c


trim_req_iri: set error string


drop the daemon config in favour of the -f flag Now it daemonize by default when running with a config, unless the -f flag is given.


const-ify puny_decode (and add puny.c)


initial punycode support


rework the configless mode: change flags and generate certs


chroot & drop privileges


added support for location blocks