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

.
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-1b3c163-4ef4d.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-1b3c163-4ef4d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?