summaryrefslogtreecommitdiff
path: root/manifests/nginx.pp
blob: 61ce87d5e251de198c37605d71e20e4660147f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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',
  }
}