Skip to content

ToMesto/remove_hsts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This gem removes HSTS header from Rails response. If your nginx is responsible for HSTS and you want to remove headers that were added by Rails this solution is for you.

Installation

To make it available just add following lines into your Gemfile:

gem "remove_hsts"

And then execute:

bundle install

That's all. HSTS header specified by Rails will be removed.

Test

There are no useful specs at this moment. But maybe they will be added in the future. Anyway you can run all available specs using following commands:

git clone https://github.com/ToMesto/remove_hsts
bundle install
bundle exec rake spec

Feel free to send pull requests that adds any appropriate tests.

Contributing

  1. Fork it ( https://github.com/ToMesto/remove_hsts/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published