add kluk.fr hosts
This commit is contained in:
parent
cbe73af9bf
commit
bfdf7b4d75
1 changed files with 4 additions and 4 deletions
|
|
@ -80,10 +80,10 @@ Rails.application.configure do
|
||||||
config.active_record.attributes_for_inspect = [ :id ]
|
config.active_record.attributes_for_inspect = [ :id ]
|
||||||
|
|
||||||
# Enable DNS rebinding protection and other `Host` header attacks.
|
# Enable DNS rebinding protection and other `Host` header attacks.
|
||||||
# config.hosts = [
|
config.hosts = [
|
||||||
# "example.com", # Allow requests from example.com
|
"kluk.fr",
|
||||||
# /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
|
/.*\.kluk\.fr/
|
||||||
# ]
|
]
|
||||||
#
|
#
|
||||||
# Skip DNS rebinding protection for the default health check endpoint.
|
# Skip DNS rebinding protection for the default health check endpoint.
|
||||||
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
|
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue