Fixup
This commit is contained in:
parent
2a613ec57b
commit
f5fba1685f
2 changed files with 2 additions and 3 deletions
|
@ -17,8 +17,8 @@ locals {
|
|||
extra_upstreams = var.extra_upstreams
|
||||
extra_locations = var.extra_locations
|
||||
})
|
||||
cert_public = "${var.certificate.issuer_pem}${var.certificate.certificate_pem}"
|
||||
cert_private = var.certificate.private_key_pem
|
||||
cert_public = var.certificate != null ? "${var.certificate.issuer_pem}${var.certificate.certificate_pem}" : ""
|
||||
cert_private = var.certificate != null ? var.certificate.private_key_pem : ""
|
||||
filenames = {
|
||||
nginx = "${var.hostname}.conf"
|
||||
auth = "${var.hostname}.auth"
|
||||
|
|
|
@ -53,7 +53,6 @@ variable "config_prefix" {
|
|||
type = string
|
||||
default = "nginx"
|
||||
}
|
||||
|
||||
variable "extra_upstreams" {
|
||||
type = list(object({
|
||||
name = string
|
||||
|
|
Loading…
Reference in a new issue