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

94 lines
2.4 KiB
HCL

nginx_sites = {
bitwarden = {
service = "nginx.bitwarden.svc:8080"
proxy_cache = false
extra_value_bool = false
extra-value = false
http2_bool = true
}
bookstack = {
service = "webserver.bookstack.svc"
proxy_cache = true
extra_value_bool = false
extra-value = false
http2_bool = false
}
django = {
service = "webserver.django-python.svc:8000"
proxy_cache = true
extra_value_bool = false
extra-value = false
http2_bool = true
}
echo = {
service = "echo-server.echo-server.svc:80"
proxy_cache = true
extra_value_bool = false
extra-value = false
http2_bool = true
}
gitlab = {
service = "webserver.gitlab.svc:443"
proxy_cache = true
extra_value_bool = true
extra-value = <<EOT
client_max_body_size 20m;
proxy_request_buffering off;
EOT
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
}
}