From: Tom Hughes Date: Thu, 26 Mar 2026 14:28:49 +0000 (+0000) Subject: Configure totp_domain for web site X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain Configure totp_domain for web site --- diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index b994ee829..fa334a8be 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -142,6 +142,7 @@ rails_port "www.openstreetmap.org" do tracestrack_key web_passwords["tracestrack_key"] maptiler_key web_passwords["maptiler_key"] totp_key web_passwords["totp_key"] + totp_domain "openstreetmap.org" csp_enforce true trace_use_job_queue true diary_feed_delay 12 diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 9211adbca..85c2e4281 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -74,6 +74,7 @@ property :thunderforest_key, String property :tracestrack_key, String property :maptiler_key, String property :totp_key, String +property :totp_domain, String property :csp_enforce, [true, false], :default => false property :csp_report_url, String property :matomo_configuration, Hash @@ -337,6 +338,7 @@ action :create do "tracestrack_key", "maptiler_key", "totp_key", + "totp_domain", "csp_enforce", "csp_report_url", "trace_use_job_queue",