From ef8172874f650078e8cfb6e1582de4ece5495640 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 12 Aug 2024 20:49:47 +0200 Subject: add any/all conditions and experimental CGI support --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 428fabd..609d420 100644 --- a/readme.md +++ b/readme.md @@ -166,6 +166,8 @@ themselves; in that case the request is passed on. prefix - `!path_is `: Checks if the URI path is exactly what you specified - `!has_header `: Checks if the request includes a certain header. + - `!any [conditions]`: Checks if any of a set of conditions are satisfied. + - `!all [conditions]`: Checks if all conditions are satisfied. - `case_true` Handler with matched requests (module) - `case_false` Handler for all other requests (module) @@ -178,6 +180,13 @@ themselves; in that case the request is passed on. - Responds with a permanent redirect. - Takes the location to redirect to. (string) +- **module `cgi`** + - Runs a CGI script on the request. **This is experimental and probably + vulnerable! Don't use this.** + - `bin`: Path to the CGI binary + - `user`: User that the script is executed as. Requires to run gnix as root. + (optional string) + #### Credentials config format Login credentials for `cookie_auth` and `http_basic_auth` are supplied as either -- cgit v1.2.3-70-g09d2