path: root/
diff options
authordefanor <>2019-02-03 22:57:11 +0300
committerdefanor <>2019-02-03 22:57:11 +0300
commitd032cdc98f1c05306cdab9cff41362db2e6bfa06 (patch)
tree8c82e3169f9b89764549932b6c837e98cd8c5714 /
parent83a90895a5b6f1267ad272bfe23a6b604068d3c0 (diff)
Replace wai-cli with wai-handler-fastcgi
Another step towards making pgxhtml more lightweight, dependencies-wise.
Diffstat (limited to '')
1 files changed, 5 insertions, 4 deletions
diff --git a/ b/
index 9d4e64a..abb2c0c 100644
--- a/
+++ b/
@@ -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
+FastCGI is used.
## Usage
### Invocation
-See [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](, "a standalone web server that