Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add port 443 to listen_ports in apache2 (SOC-9172) #1954

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chef/cookbooks/apache2/recipes/mod_ssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
# override the resource defined in default.rb; we don't want to create the
# resource again, otherwise we will write the file twice
resource = resources(template: "#{node[:apache][:dir]}/ports.conf")
resource.variables({apache_listen_ports: [node[:apache][:listen_ports], "443"].flatten})
node[:apache][:listen_ports] << "443"
zzaimeche marked this conversation as resolved.
Show resolved Hide resolved
resource.variables({ apache_listen_ports: node[:apache][:listen_ports] })
end

apache_module "ssl" do
Expand Down