From d032cdc98f1c05306cdab9cff41362db2e6bfa06 Mon Sep 17 00:00:00 2001 From: defanor Date: Sun, 3 Feb 2019 22:57:11 +0300 Subject: Replace wai-cli with wai-handler-fastcgi Another step towards making pgxhtml more lightweight, dependencies-wise. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9d4e64a..abb2c0c 100644 --- a/README.md +++ b/README.md @@ -16,16 +16,14 @@ Request timeouts are enforced and do cancel DB queries, but otherwise it relies on PostgreSQL for access permissions and security policies, as well as for any business logic that may be needed. -It is based on WAI, and can be used with (S,Fast)CGI, or various other -methods. +FastCGI is used. ## Usage ### Invocation -See [wai-cli](https://hackage.haskell.org/package/wai-cli) for CLI -arguments. The used environment variables are: +The used environment variables are: - `TIMEOUT`: request timeout in seconds, 10 by default. - `XSLT_DIR`: a directory to read XSLT files from, current working @@ -92,6 +90,9 @@ pgxhtml only focuses on providing a web interface to a database. would likely be desired (perhaps granting `CREATE` just to the database owner/administrators). +- Possibly web server rules (such as nginx rewrites), if it's desired + to strictly limit available queries. + ## See also - [PostgREST](http://postgrest.org/), "a standalone web server that -- cgit v1.2.3