add option to specify which ingresses are protected and also expose list of paths to allow [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-03 23:27:12 +00:00
parent 255eb1e2db
commit 3f809e946a
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 38 additions and 9 deletions

View file

@ -35,6 +35,18 @@ module "nas" {
backend_protocol = "HTTPS"
}
# https://files.viktorbarzin.me/
module "nas-files" {
source = "./factory"
name = "files"
external_name = "nas.viktorbarzin.lan"
port = 5001
tls_secret_name = var.tls_secret_name
backend_protocol = "HTTPS"
protected = false # allow anyone to download files
ingress_path = ["/sharing", "/scripts", "/webman", "/wfmlogindialog.js"]
}
# https://idrac.viktorbarzin.me/
module "idrac" {
source = "./factory"