Add a firewall rule to the kosmos_openresty cookbook
It is part of the run list in production
This commit is contained in:
11
site-cookbooks/kosmos_openresty/recipes/firewall.rb
Normal file
11
site-cookbooks/kosmos_openresty/recipes/firewall.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Cookbook Name:: kosmos_openresty
|
||||
# Recipe:: firewall
|
||||
|
||||
include_recipe "kosmos-base::firewall"
|
||||
|
||||
firewall_rule "http/https" do
|
||||
port [80, 443]
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
Reference in New Issue
Block a user