diff options
author | Wu Cheng-Han | 2016-12-15 14:07:12 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-12-15 14:11:23 +0800 |
commit | 5c7eb483198d0d92dc88c7a7c25cca5c23eb5cf2 (patch) | |
tree | d848b413c53294bc0e2c3d970e1d9ee54ea50c2d /README.md | |
parent | cf8bae32d162874e4cf4dbd929cc3b9a0383631c (diff) |
Add support of allow anonymous config option with correspond modifications
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -118,6 +118,7 @@ Environment variables (will overwrite other server configs) | HMD_PROTOCOL_USESSL | `true` or `false` | set to use ssl protocol for resources path (only applied when domain is set) | | HMD_URL_ADDPORT | `true` or `false` | set to add port on callback url (port 80 or 443 won't applied) (only applied when domain is set) | | HMD_USECDN | `true` or `false` | set to use CDN resources or not (default is `true`) | +| HMD_ALLOW_ANONMYOUS | `true` or `false` | set to allow anonmyous usage (default is `true`) | | HMD_FACEBOOK_CLIENTID | no example | Facebook API client id | | HMD_FACEBOOK_CLIENTSECRET | no example | Facebook API client secret | | HMD_TWITTER_CONSUMERKEY | no example | Twitter API consumer key | @@ -153,6 +154,7 @@ Server settings `config.json` | protocolusessl | `true` or `false` | set to use ssl protocol for resources path (only applied when domain is set) | | urladdport | `true` or `false` | set to add port on callback url (port 80 or 443 won't applied) (only applied when domain is set) | | usecdn | `true` or `false` | set to use CDN resources or not (default is `true`) | +| allowanonmyous | `true` or `false` | set to allow anonmyous usage (default is `true`) | | db | `{ "dialect": "sqlite", "storage": "./db.hackmd.sqlite" }` | set the db configs, [see more here](http://sequelize.readthedocs.org/en/latest/api/sequelize/) | | sslkeypath | `./cert/client.key` | ssl key path (only need when you set usessl) | | sslcertpath | `./cert/hackmd_io.crt` | ssl cert path (only need when you set usessl) | |