Skip to content

Commit dcc742f

Browse files
authored
Update ActionDispatch::SSL documentation
1 parent c0807dc commit dcc742f

File tree

1 file changed

+1
-1
lines changed
  • actionpack/lib/action_dispatch/middleware

1 file changed

+1
-1
lines changed

actionpack/lib/action_dispatch/middleware/ssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module ActionDispatch
1919
#
2020
# Requests can opt-out of redirection with `exclude`:
2121
#
22-
# config.ssl_options = { redirect: { exclude: -> request { /healthcheck/.match?(request.path) } } }
22+
# config.ssl_options = { redirect: { exclude: -> request { request.path == "/up" } } }
2323
#
2424
# Cookies will not be flagged as secure for excluded requests.
2525
#

0 commit comments

Comments
 (0)