Nginx rewrite secondary directory jump band slash
Since the website url has a custom secondary directory, such as http://www.example.com/ppt, you need to force a slash after the secondary directory ppt. At this point, you need to make rewrite rules. The correct method has not been found on the Internet. This was sued by my colleague, and it has been put into practice.
Rewrite ^ / ([a-zA-Z] +) $/ $1 / permanent