Skip to content

Commit e10cf17

Browse files
committed
fix: redirect keycloak
1 parent b05559b commit e10cf17

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

Caddyfile.azure

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@
7373
header_up Accept-Encoding identity
7474
}
7575

76-
replace {
77-
"http://localhost:8083" "https://testminio.germanywestcentral.cloudapp.azure.com:8444"
78-
}
79-
8076
log {
8177
output stdout
8278
format json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ No modules.
304304
| Name | Description | Type | Default | Required |
305305
|------|-------------|------|---------|:--------:|
306306
| <a name="input_allowed_ip_addresses"></a> [allowed\_ip\_addresses](#input\_allowed\_ip\_addresses) | Comma-separated list of IP addresses that will be allowed to access the MinIO service in CIDR format. Example: '203.0.113.0/32' for a single IP or '10.10.10.2/32,192.168.1.0/24' for multiple IPs. | `string` | `"10.10.10.2/32"` | no |
307-
| <a name="input_coraza_waf_image"></a> [coraza\_waf\_image](#input\_coraza\_waf\_image) | Coraza WAF container image | `string` | `"ghcr.io/meshcloud/minio_azure_container_app/coraza-caddy:caddy-2.8-coraza-v2.0.0"` | no |
307+
| <a name="input_coraza_waf_image"></a> [coraza\_waf\_image](#input\_coraza\_waf\_image) | Coraza WAF container image | `string` | `"ghcr.io/meshcloud/minio_azure_container_app/coraza-caddy:caddy-2.9.1-coraza-v2.0.0"` | no |
308308
| <a name="input_keycloak_admin_password"></a> [keycloak\_admin\_password](#input\_keycloak\_admin\_password) | Keycloak admin password | `string` | n/a | yes |
309309
| <a name="input_keycloak_admin_user"></a> [keycloak\_admin\_user](#input\_keycloak\_admin\_user) | Keycloak admin username | `string` | `"admin"` | no |
310310
| <a name="input_keycloak_test_user_email"></a> [keycloak\_test\_user\_email](#input\_keycloak\_test\_user\_email) | Keycloak test user email | `string` | `"[email protected]"` | no |

main.tf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,8 @@ resource "azurerm_container_group" "minio_aci_container_group" {
536536
KC_BOOTSTRAP_ADMIN_USERNAME = var.keycloak_admin_user
537537
KC_BOOTSTRAP_ADMIN_PASSWORD = var.keycloak_admin_password
538538
KC_HTTP_ENABLED = "true"
539-
KC_HOSTNAME_STRICT = "false"
540-
KC_HOSTNAME_URL = "https://${azurerm_public_ip.agw_pip.fqdn}:8444"
541-
KC_HOSTNAME_ADMIN_URL = "https://${azurerm_public_ip.agw_pip.fqdn}:8444"
539+
KC_HOSTNAME = "https://${azurerm_public_ip.agw_pip.fqdn}:8444"
540+
KC_HOSTNAME_BACKCHANNEL_DYNAMIC = "true"
542541
KC_PROXY_HEADERS = "xforwarded"
543542
KC_PROXY = "edge"
544543
KEYCLOAK_IMPORT = "/opt/keycloak/data/import/minio-realm-config.json"
@@ -697,6 +696,10 @@ resource "azurerm_container_group" "minio_aci_container_group" {
697696
port = 8081
698697
protocol = "TCP"
699698
}
699+
# ports {
700+
# port = 8082
701+
# protocol = "TCP"
702+
# }
700703

701704
liveness_probe {
702705
http_get {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ variable "nginx_image" {
7070

7171
variable "coraza_waf_image" {
7272
type = string
73-
default = "ghcr.io/meshcloud/minio_azure_container_app/coraza-caddy:caddy-2.8-coraza-v2.0.0"
73+
default = "ghcr.io/meshcloud/minio_azure_container_app/coraza-caddy:caddy-2.9.1-coraza-v2.0.0"
7474
description = "Coraza WAF container image"
7575
}
7676

0 commit comments

Comments
 (0)