aboutsummaryrefslogtreecommitdiff
path: root/types/ssl_conf/nginx.pp
blob: 333093fa0c2be1c1dc0634f21575bf21d7f233cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# @summary SSL configuration hash for nginx
# Will either have ssl set to false, or ssl set to true, along with
# appropriate ssl parameters.
type Letsencrypt::Ssl_conf::Nginx = Variant[
  Struct[{
      ssl => Boolean,
  }],
  Struct[{
      ssl          => Boolean,
      ssl_redirect => Boolean,
      ssl_cert     => String,
      ssl_key      => String,
  }],
]