We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91672c4 commit 9f4957dCopy full SHA for 9f4957d
config/environments/production.rb
@@ -82,10 +82,7 @@
82
config.active_record.dump_schema_after_migration = false
83
84
# Enable DNS rebinding protection and other `Host` header attacks.
85
- # config.hosts = [
86
- # "example.com", # Allow requests from example.com
87
- # /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
88
- # ]
+ config.hosts << /.*\.forms\.service\.gov\.uk/
89
# Skip DNS rebinding protection for the default health check endpoint.
90
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
91
end
0 commit comments