diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 3e41ebc..3bd4c28 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -12,6 +12,12 @@ quarkus.http.port=8080 # quarkus.http.root-path est une propriete build-time — passee via -Dquarkus.http.root-path dans le Dockerfile quarkus.http.cors.origins=${CORS_ORIGINS:https://users.lions.dev,https://btpxpress.lions.dev,https://admin.lions.dev} +# Proxy forwarding pour ingress nginx (permet à Quarkus de lire X-Forwarded-* headers) +quarkus.http.proxy.proxy-address-forwarding=true +quarkus.http.proxy.allow-x-forwarded=true +quarkus.http.proxy.enable-forwarded-host=true +quarkus.http.proxy.enable-forwarded-prefix=true + # ============================================ # OIDC Configuration PROD # ============================================