diff options
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r-- | config/environments/production.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 8d82a46f6..77fdb6830 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -65,10 +65,6 @@ Rails.application.configure do # Set this to true and configure the email server for immediate delivery to raise delivery errors. # config.action_mailer.raise_delivery_errors = false - # Enable locale fallbacks for I18n (makes lookups for any locale fall back to - # English when a translation cannot be found). - config.i18n.fallbacks = [:en] - # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify @@ -124,7 +120,9 @@ Rails.application.configure do 'X-XSS-Protection' => '0', 'Permissions-Policy' => 'interest-cohort=()', 'Referrer-Policy' => 'same-origin', - 'X-Clacks-Overhead' => 'GNU Natalie Nguyen' + 'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload', + 'X-Clacks-Overhead' => 'GNU Natalie Nguyen, GNU Anna Harren', + 'big-tails' => 'never-fail' } config.x.otp_secret = ENV.fetch('OTP_SECRET') |