aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2019-01-17 01:06:35 +0000
committerbogdanvlviv <bogdanvlviv@gmail.com>2019-01-17 01:45:54 +0000
commit4aa9935c2f8fbeeb4e123945eefb85f714372fb2 (patch)
tree481c18647e84c9de2b9374596b7ed9e6024a86ea /guides
parent481192171e67c2aad1dc4a3de113a61cca231674 (diff)
downloadrails-4aa9935c2f8fbeeb4e123945eefb85f714372fb2.tar.gz
rails-4aa9935c2f8fbeeb4e123945eefb85f714372fb2.tar.bz2
rails-4aa9935c2f8fbeeb4e123945eefb85f714372fb2.zip
Add `config.credentials.content_path` and `config.credentials.key_path` to the guide
- Fix some typos Follow up #33962
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 32682fb91f..edfd7fb1e0 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -135,6 +135,10 @@ defaults to `:debug` for all environments. The available log levels are: `:debug
* `config.reload_classes_only_on_change` enables or disables reloading of classes only when tracked files change. By default tracks everything on autoload paths and is set to `true`. If `config.cache_classes` is `true`, this option is ignored.
+* `config.credentials.content_path` configures lookup path for encrypted credentials.
+
+* `config.credentials.key_path` configures lookup path for encryption key.
+
* `secret_key_base` is used for specifying a key which allows sessions for the application to be verified against a known secure key to prevent tampering. Applications get a random generated key in test and development environments, other environments should set one in `config/credentials.yml.enc`.
* `config.public_file_server.enabled` configures Rails to serve static files from the public directory. This option defaults to `true`, but in the production environment it is set to `false` because the server software (e.g. NGINX or Apache) used to run the application should serve static files instead. If you are running or testing your app in production mode using WEBrick (it is not recommended to use WEBrick in production) set the option to `true.` Otherwise, you won't be able to use page caching and request for files that exist under the public directory.