0.0
No commit activity in last 3 years
No release in over 3 years
If your nginx is responsible for HSTS and you want to remove headers that were added by Rails this solution is for you
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
~> 3.4

Runtime

>= 1.0, < 3
 Project Readme

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