Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
lumen-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1016e640
authored
May 02, 2017
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added smtp settings for production
parent
83a959d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
config/environments/production.rb
config/environments/production.rb
View file @
1016e640
...
@@ -40,7 +40,7 @@ Rails.application.configure do
...
@@ -40,7 +40,7 @@ Rails.application.configure do
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
#
config.force_ssl = true
config
.
force_ssl
=
true
# Use the lowest log level to ensure availability of diagnostic information
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
# when problems arise.
...
@@ -56,6 +56,18 @@ Rails.application.configure do
...
@@ -56,6 +56,18 @@ Rails.application.configure do
# config.active_job.queue_adapter = :resque
# config.active_job.queue_adapter = :resque
# config.active_job.queue_name_prefix = "control_panel_#{Rails.env}"
# config.active_job.queue_name_prefix = "control_panel_#{Rails.env}"
config
.
action_mailer
.
perform_caching
=
false
config
.
action_mailer
.
perform_caching
=
false
config
.
action_mailer
.
default_url_options
=
{
:host
=>
'beta.wattsworth.net'
}
config
.
action_mailer
.
delivery_method
=
:smtp
config
.
action_mailer
.
smtp_settings
=
{
:address
=>
"mail.wattsworth.net"
,
:port
=>
25
,
:domain
=>
"wattsworth.net"
,
:user_name
=>
ENV
[
'SMTP_USERNAME'
],
:password
=>
ENV
[
'GMAIL_PASSWORD'
],
:authentication
=>
"login"
,
:enable_starttls_auto
=>
true
}
# Ignore bad email addresses and do not raise email delivery errors.
# 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.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment