Skip to content

Commit 67b4a16

Browse files
authored
Merge pull request rails#52967 from sobrinho/patch-3
Update ActionDispatch::SSL documentation [ci-skip]
2 parents c0807dc + dcc742f commit 67b4a16

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)