e6a3f3affd
- Introduced custom HTML error pages for various HTTP status codes (400, 401, 403, 404, 408, 429, 500, 502, 503, 504) in the proxy module. - Created a .gitignore file to exclude non-HTML files in the error resources directory. - Updated Nginx configuration to serve custom error pages for upstream errors. - Added new Nginx configuration templates for handling HTTP and stream protocols. - Implemented Wireguard configuration templates and associated variables for secure connections. - Established Kubernetes resources for Stunnel and Wireguard, including deployment, service accounts, and config maps. - Defined variables for the Stunnel and Wireguard modules to facilitate configuration. - Created a new Wol Proxy module with Kubernetes resources for deployment and service management.
32 lines
734 B
Terraform
32 lines
734 B
Terraform
variable "upstream" {
|
|
description = "Configuration for the upstream proxy"
|
|
type = object({
|
|
mac = optional(string, "")
|
|
ip = optional(string, "")
|
|
port = optional(string, "")
|
|
scheme = optional(string, "http")
|
|
})
|
|
}
|
|
|
|
# variable "fqdn" {
|
|
# description = "The fully qualified domain name for the app server"
|
|
# type = string
|
|
# }
|
|
|
|
variable "tag" {
|
|
description = "The version of app to install"
|
|
type = string
|
|
default = "v0.4.0"
|
|
}
|
|
|
|
variable "namespace" {
|
|
description = "The namespace for the proxy"
|
|
type = string
|
|
default = "wol-proxy"
|
|
}
|
|
|
|
variable "proxy_port" {
|
|
description = "The port on which the proxy will listen"
|
|
type = number
|
|
default = 8080
|
|
} |