aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2019-03-11 21:08:20 +0100
committerGitHub <noreply@github.com>2019-03-11 21:08:20 +0100
commit3a42c2305eccb8d54e66c76eb2ae4eacfd81f941 (patch)
tree6bb5b9975cecff795f4b7d467c14491bd2a83466 /guides
parentf55306f098f9a937ef2b0fbbb0e002960f7bcf89 (diff)
parent4aa9935c2f8fbeeb4e123945eefb85f714372fb2 (diff)
downloadrails-3a42c2305eccb8d54e66c76eb2ae4eacfd81f941.tar.gz
rails-3a42c2305eccb8d54e66c76eb2ae4eacfd81f941.tar.bz2
rails-3a42c2305eccb8d54e66c76eb2ae4eacfd81f941.zip
Merge pull request #34955 from bogdanvlviv/follow-up-33962
Add `config.credentials.content_path` and `config.credentials.key_path` to the guide
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 bf1c0f8674..a61ba5dc9f 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.