Merge pull request 'Configure allowed hosts' (#171) from configure-host into main
Reviewed-on: #171
This commit is contained in:
commit
9fab79044d
@ -92,6 +92,9 @@ Rails.application.configure do
|
||||
# "example.com", # Allow requests from example.com
|
||||
# /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
|
||||
# ]
|
||||
|
||||
config.hosts << "app.libreweddingplanner.org"
|
||||
|
||||
# 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" } }
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user