The nginx reverse proxy does not work. The network request address is still the address entered by the original ajax.

use nginx proxy to cross-domain, and web server uses apache listening port 9999 (included with mac)
now think about the request for which ajax url is"/ ghoapi/User_QinxiePHP/user_listScene.php", and
replace it with" http://192.168.1.. Some / team/. ",
nginx is configured as follows:

nginx apache :

:
does not replace

Mar.02,2021

replacement is done at the nginx level, not the address requested by your browser


who do you want to represent? Look at your configuration is proxy 192, and your description is agent / gho.


does anyone make it clear that I am nothing more than an apache service used in the development phase, and nginx acts as a proxy cross-domain? which god can tell us how to match it?

Menu