-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
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
Is there a way to combine mutiple only, multiple ignore with strict #68
Comments
Hey,
|
Isn't there a way to ignore assets, system with strict on? |
Basically i see no reason why
wouldn't work. Could you provide a failing test case? |
what's the difference in above and this: config.middleware.use Rack::SslEnforcer, only: [%r{^/users}, %r{^/settings}], ignore: [%r{^/assets}, %r{^/system}], strict: true because this seems working fine :) |
Another issue is regarding only_hosts and only combination. On another thought actually i have an opened issue for that, lemme discuss that there. Closing this. |
Meh, sorry i always forget why i never liked the string constraints: '/users/' will extactly match /users/, not /users/john or anything else... |
Hey
I have a site where users, settings pages required SSL, rest pages I don't want to run on SSL. both the pages shows some images. So I want assets, system directory to ignore SSL, this is the config I tried with no luck:
Is this scenario possible with rack-ssl-enforcer?
The text was updated successfully, but these errors were encountered: