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|
@ -74,6 +74,14 @@ Rails.application.configure do
|
|||
# config.active_job.queue_name_prefix = "forg_production"
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: "smtp.eu.mailgun.org",
|
||||
port: 587,
|
||||
domain: ENV.fetch("APPLICATION_HOST"),
|
||||
username: "postmaster@mail.ttcompanion.com",
|
||||
password: Rails.application.credentials.dig(:mailgun, :password),
|
||||
}
|
||||
|
||||
# Ignore bad email addresses and do not raise email delivery errors.
|
||||
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
||||
|
@ -93,7 +101,7 @@ Rails.application.configure do
|
|||
config.hosts = [
|
||||
"localhost",
|
||||
"ttcompanion.com",
|
||||
/.*\.ttcompanion\.com/
|
||||
/.*\.ttcompanion\.com/,
|
||||
]
|
||||
# Skip DNS rebinding protection for the default health check endpoint.
|
||||
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
|
||||
|
|
Loading…
Reference in New Issue