Add cloud-2026-upgrade: step-by-step upgrade of the shop to Spring Boot 4.2.0 / Spring Cloud 2026.0.0, with probes
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
diff --git a/config-server/src/main/resources/config/gateway.yml b/config-server/src/main/resources/config/gateway.yml
|
||||
index 470bee1..fb2907d 100644
|
||||
--- a/config-server/src/main/resources/config/gateway.yml
|
||||
+++ b/config-server/src/main/resources/config/gateway.yml
|
||||
@@ -4,6 +4,9 @@ spring:
|
||||
gateway:
|
||||
server:
|
||||
webmvc:
|
||||
+ # Regex matched against the caller's IP AND every address in X-Forwarded-For / Forwarded for=.
|
||||
+ # Empty (the default here) switches the forwarding filters off: nothing is forwarded upstream.
|
||||
+ trusted-proxies: ${TRUSTED_PROXIES:}
|
||||
routes:
|
||||
- id: products
|
||||
uri: lb://product-service
|
||||
Reference in New Issue
Block a user