diff options
author | multiple creatures <dev@multiple-creature.party> | 2018-11-01 14:39:36 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:20 -0500 |
commit | 17a7aeb807f098b45b8f83916285b05bda175860 (patch) | |
tree | c7da1625562890e1f6c036dd369c137f837e1dc5 /config | |
parent | 918f7b74780ddbb3cc175c93e89a5d44e0302e85 (diff) |
additional secure headers
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 7a07a8eb0..e64bacca0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -100,9 +100,11 @@ Rails.application.configure do 'X-Content-Type-Options' => 'nosniff', 'X-XSS-Protection' => '1; mode=block', 'Referrer-Policy' => 'same-origin', + 'X-Download-Options' => 'noopen', + 'X-Robots-Tag' => 'none', + 'X-Permitted-Cross-Domain-Policies' => 'none', 'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload', - 'X-Clacks-Overhead' => 'GNU Natalie Nguyen' - + 'X-Clacks-Overhead' => 'GNU Natalie Nguyen' } config.x.otp_secret = ENV.fetch('OTP_SECRET') |