summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2019-02-03 22:57:11 +0300
committerdefanor <defanor@uberspace.net>2019-02-03 22:57:11 +0300
commitd032cdc98f1c05306cdab9cff41362db2e6bfa06 (patch)
tree8c82e3169f9b89764549932b6c837e98cd8c5714 /README.md
parent83a90895a5b6f1267ad272bfe23a6b604068d3c0 (diff)
Replace wai-cli with wai-handler-fastcgi
Another step towards making pgxhtml more lightweight, dependencies-wise.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
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