Skip to content

Commit

Permalink
Add HSTS preload value
Browse files Browse the repository at this point in the history
  • Loading branch information
nacin committed Oct 13, 2016
1 parent 59a40a9 commit edcc5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/secure_headers.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SecureHeaders::Configuration.default do |config|
config.hsts = "max-age=#{365.days.to_i}; includeSubDomains"
config.hsts = "max-age=#{365.days.to_i}; includeSubDomains; preload"
config.x_frame_options = 'SAMEORIGIN'
config.x_content_type_options = 'nosniff'
config.x_xss_protection = '1; mode=block'
Expand Down

0 comments on commit edcc5c9

Please sign in to comment.