We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0807dc commit dcc742fCopy full SHA for dcc742f
actionpack/lib/action_dispatch/middleware/ssl.rb
@@ -19,7 +19,7 @@ module ActionDispatch
19
#
20
# Requests can opt-out of redirection with `exclude`:
21
22
- # config.ssl_options = { redirect: { exclude: -> request { /healthcheck/.match?(request.path) } } }
+ # config.ssl_options = { redirect: { exclude: -> request { request.path == "/up" } } }
23
24
# Cookies will not be flagged as secure for excluded requests.
25
0 commit comments