From bfdf7b4d75bd82c2e026df4fa0801ceb1b4b9db6 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Sun, 22 Feb 2026 10:28:40 +0100 Subject: [PATCH] add kluk.fr hosts --- config/environments/production.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index bdcd01d..ffb110e 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -80,10 +80,10 @@ Rails.application.configure do config.active_record.attributes_for_inspect = [ :id ] # Enable DNS rebinding protection and other `Host` header attacks. - # config.hosts = [ - # "example.com", # Allow requests from example.com - # /.*\.example\.com/ # Allow requests from subdomains like `www.example.com` - # ] + config.hosts = [ + "kluk.fr", + /.*\.kluk\.fr/ + ] # # Skip DNS rebinding protection for the default health check endpoint. # config.host_authorization = { exclude: ->(request) { request.path == "/up" } }