✨ starting to use terraform

This commit is contained in:
2024-07-25 17:04:03 +01:00
parent 2bd11a174d
commit cda1d12883
5 changed files with 408 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
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
}
}