We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Based on the README file, the SslEnforcer should be prepended into the middleware chain via insert_before:
SslEnforcer
insert_before
config.middleware.insert_before ActionDispatch::Cookies, Rack::SslEnforcer
But then all subsequent examples rely on use:
use
config.middleware.use Rack::SslEnforcer, :only_hosts => 'api.example.com' ...
Could you please explain what the proper/expected way of setting up the middleware is?
The text was updated successfully, but these errors were encountered:
Seems like #90 caused this discrepancy.
Sorry, something went wrong.
No branches or pull requests
Based on the README file, the
SslEnforcer
should be prepended into the middleware chain viainsert_before
:But then all subsequent examples rely on
use
:Could you please explain what the proper/expected way of setting up the middleware is?
The text was updated successfully, but these errors were encountered: