Tagged articles
4 articles
Page 1 of 1
Java Architecture Diary
Java Architecture Diary
Aug 21, 2023 · Backend Development

How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade

This article explains why URL mappings that worked in Spring Boot 2.x break after upgrading to Spring Boot 3, demonstrates the issue with trailing slashes, and provides three practical solutions—including a filter, Nginx rule, and Spring Cloud Gateway optimization—to restore correct routing.

NGINXSpring Cloud GatewaySpring MVC
0 likes · 5 min read
How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade
Open Source Linux
Open Source Linux
Oct 21, 2021 · Backend Development

How the Trailing Slash in Nginx proxy_pass Changes Request Routing

This article examines how the presence or absence of a trailing slash in Nginx's location blocks and proxy_pass directives affects URL matching and request forwarding, illustrating four proxy_pass scenarios with examples and providing configuration experiments to help avoid common pitfalls.

NGINXWeb serverlocation
0 likes · 7 min read
How the Trailing Slash in Nginx proxy_pass Changes Request Routing