|author||defanor <firstname.lastname@example.org>||2019-02-03 22:57:11 +0300|
|committer||defanor <email@example.com>||2019-02-03 22:57:11 +0300|
Replace wai-cli with wai-handler-fastcgi
Another step towards making pgxhtml more lightweight, dependencies-wise.
Diffstat (limited to 'README.md')
1 files changed, 5 insertions, 4 deletions
@@ -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.
-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
+- 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