diff options
author | Vipul A M <vipulnsward@gmail.com> | 2019-05-07 09:41:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 09:41:32 -0400 |
commit | 4511d4bf7c931fd88b9f2aa8488cf3cf762639f7 (patch) | |
tree | 7e1c8df526aee8943fe0b3ec61143f4e47b22a9d | |
parent | cecbc2340abec0ba96db9394f397f1e5a67c449d (diff) | |
parent | 1901c181d623bee2cb2734209a2cd3a55a6fd7e1 (diff) | |
download | rails-4511d4bf7c931fd88b9f2aa8488cf3cf762639f7.tar.gz rails-4511d4bf7c931fd88b9f2aa8488cf3cf762639f7.tar.bz2 rails-4511d4bf7c931fd88b9f2aa8488cf3cf762639f7.zip |
Merge pull request #36201 from soartec-lab/fix_typo_dot_position
Fixed typo of dot position [skip ci]
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 3863323bd2..3adc956ef9 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -145,7 +145,7 @@ defaults to `:debug` for all environments. The available log levels are: `:debug * `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. +* `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. * `config.session_store` specifies what class to use to store the session. Possible values are `:cookie_store` which is the default, `:mem_cache_store`, and `:disabled`. The last one tells Rails not to deal with sessions. Defaults to a cookie store with application name as the session key. Custom session stores can also be specified: |