Skip to content

Commit

Permalink
Fix a couple of typos [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieuprat committed Dec 31, 2023
1 parent c2636a6 commit 070487e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/middleware/assume_ssl.rb
Expand Up @@ -4,7 +4,7 @@ module ActionDispatch
# = Action Dispatch \AssumeSSL
#
# When proxying through a load balancer that terminates SSL, the forwarded request will appear
# as though its HTTP instead of HTTPS to the application. This makes redirects and cookie
# as though it's HTTP instead of HTTPS to the application. This makes redirects and cookie
# security target HTTP instead of HTTPS. This middleware makes the server assume that the
# proxy already terminated SSL, and that the request really is HTTPS.
class AssumeSSL
Expand Down
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Expand Up @@ -202,7 +202,7 @@ Sets the host for the assets. Useful when CDNs are used for hosting assets, or w

#### `config.assume_ssl`

Makes application believe that all requests are arriving over SSL. This is useful when proxying through a load balancer that terminates SSL, the forwarded request will appear as though its HTTP instead of HTTPS to the application. This makes redirects and cookie security target HTTP instead of HTTPS. This middleware makes the server assume that the proxy already terminated SSL, and that the request really is HTTPS.
Makes application believe that all requests are arriving over SSL. This is useful when proxying through a load balancer that terminates SSL, the forwarded request will appear as though it's HTTP instead of HTTPS to the application. This makes redirects and cookie security target HTTP instead of HTTPS. This middleware makes the server assume that the proxy already terminated SSL, and that the request really is HTTPS.

#### `config.autoflush_log`

Expand Down

0 comments on commit 070487e

Please sign in to comment.