Files
Reverse_proxy_Nginx/terraform/variables.auto.tfvars
T
2024-07-25 17:04:03 +01:00

62 lines
1.5 KiB
HCL

nginx_sites = {
bitwarden = {
service = "nginx.bitwarden.svc:8080"
proxy_cache = false
extra_value_bool = false
extra-value = false
http2_bool = true
}
sonarr = {
service = "sonarr.servarr.svc"
proxy_cache = false
extra_value_bool = false
http2_bool = false
extra-value = <<EOT
EOT
}
keycloak = {
service = "keycloak.keycloak.svc:8080"
proxy_cache = false
extra_value_bool = true
http2_bool = false
extra-value = <<EOT
set_real_ip_from 0.0.0.0/0;
real_ip_header X-Real-IP;
real_ip_recursive on;
EOT
}
nextcloud = {
service = "webserver.nextcloud.svc"
proxy_cache = true
extra_value_bool = true
http2_bool = true
extra-value = <<EOT
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
location = /health {
default_type text/html;
return 200 "<!DOCTYPE html><h2>health check</h2>\n";
}
EOT
}
}