Nginx configuration question: can access test.com/a1, be proxied to test.com:8080?

The

company has given me a second-level domain name and is recently developing WeChat Mini Programs with node. However, Mini Program cannot add a port number to access the background, because there are so many projects involved, it is impossible to use nginx to represent only one port number.
I wonder whether nginx supports such
access to test.com/a1. Can you proxy to test.com:8080?
I"ve tried to configure it this way, but nginx-t will warn,
to ask the boss to solve the problem.

Mar.03,2021
Menu