Skip to content
Snippets Groups Projects
Commit 4a377fc2 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Merge branch 'master' into 'master'

add ssl option

fix the problem not set "ssl: true" in /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb when set "gitlab_rails['smtp_ssl'] = true" in /etc/gitlab/gitlab.rb.

the issue in https://gitlab.com/gitlab-org/gitlab-ce/issues/3498

See merge request !730
parents 8240ab3a 93adca1b
No related branches found
No related tags found
1 merge request!730add ssl option
Loading
Loading
@@ -10,7 +10,7 @@ if Rails.env.production?
 
ActionMailer::Base.smtp_settings = {
authentication: <%= @smtp_authentication.to_s.to_sym.inspect %>,
<% %w{ address port user_name password domain enable_starttls_auto tls openssl_verify_mode ca_path ca_file }.each do |key| %>
<% %w{ address port user_name password domain enable_starttls_auto tls ssl openssl_verify_mode ca_path ca_file }.each do |key| %>
<% value = node['gitlab'][container]["smtp_#{key}"] %>
<%= "#{key}: #{value.inspect}," unless value.nil? %>
<% end %>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment