Add a firewall rule to the kosmos_openresty cookbook

It is part of the run list in production
This commit is contained in:
Greg Karékinian
2023-07-17 18:05:34 +02:00
parent 4e0bd191c3
commit bf72367cf2
3 changed files with 13 additions and 0 deletions

View 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