aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-05-11 03:54:02 +0530
committerVipul A M <vipulnsward@gmail.com>2016-05-11 03:54:02 +0530
commit94660de4e525f2520e0a02907223f247beee42d3 (patch)
tree564f20d9540138697254e0fed99498821740a554 /guides
parentbc7a626956bbcda9fcb12b47ce93f41b1b3fe3c0 (diff)
downloadrails-94660de4e525f2520e0a02907223f247beee42d3.tar.gz
rails-94660de4e525f2520e0a02907223f247beee42d3.tar.bz2
rails-94660de4e525f2520e0a02907223f247beee42d3.zip
Document config.action_dispatch.ignore_accept_header and config.action_dispatch.x_sendfile_header in configuring 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 a1ce0b09c0..c1325d5f76 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -388,6 +388,10 @@ The schema dumper adds one additional configuration option:
* `config.action_dispatch.tld_length` sets the TLD (top-level domain) length for the application. Defaults to `1`.
+* `config.action_dispatch.ignore_accept_header` is used to determine whether to ignore accept headers from a request. Defaults to `false`.
+
+* `config.action_dispatch.x_sendfile_header` specifies server specific X-Sendfile header. This is useful for accelerated file sending from server. For example it can be set to 'X-Sendfile' for Apache.
+
* `config.action_dispatch.http_auth_salt` sets the HTTP Auth salt value. Defaults
to `'http authentication'`.