summaryrefslogtreecommitdiff
path: root/manifests/nginx.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/nginx.pp')
-rw-r--r--manifests/nginx.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/nginx.pp b/manifests/nginx.pp
new file mode 100644
index 0000000..61ce87d
--- /dev/null
+++ b/manifests/nginx.pp
@@ -0,0 +1,16 @@
+class profiles::nginx {
+ include ::nginx
+
+ firewall { '100 allow HTTP':
+ proto => 'tcp',
+ dport => [ 'http', 'https', ],
+ action => accept,
+ }
+
+ firewall { '100 allow HTTP IPv6':
+ proto => 'tcp',
+ dport => [ 'http', 'https', ],
+ action => accept,
+ provider => 'ip6tables',
+ }
+}