How does nginx implement such an agent

locally modified host, such as
127.0.0.1 www.xxx.com

node starts a service on port 8080, proxies to port 80 through nginx, and accesses the wwww.xxx.com development project locally

then something happened. The operator provided a page wwww.xxx.com/hello, that needs to be embedded locally. At this time, nginx can allow other requests to access the local area normally and forward / hello to the online

.

in addition, the local wwww.xxx.com cannot be changed to another domain name for other special reasons

Mar.26,2021

I don't know if this line is OK: https://codeshelper.com/q/10.


Yes, you can add a location to / hello , and then you can add a separate proxy on the configuration side

.
Menu