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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e58a47-454c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e58a47-454c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?