From 51b379d78b9332c321f936deb1700311d4c7872e Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Thu, 19 Feb 2015 21:28:00 -0800 Subject: [PATCH] Clarify the --secure command line option --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e872d6b90..616525c57 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,14 @@ Download the binary ([OS X](http://bin.begriffs.com/dbapi/osx/postgrest-0.2.6.0. postgrest --db-host localhost --db-port 5432 \ --db-name my_db --db-user postgres \ --db-pass foobar --db-pool 200 \ - --anonymous postgres --secure \ - --port 3000 + --anonymous postgres --port 3000 ``` +In production include the `--secure` option which redirects all +requests to HTTPS. Note that PostgREST does not handle the SSL +internally and must be put behind another server that does (such +as nginx or the Heroku load balancer). + ### Performance TLDR; subsecond response times for up to 2000 requests/sec on Heroku free tier. ([see the load test](https://github.com/begriffs/postgrest/wiki/Performance-and-Scaling))