Home  >  Q&A  >  body text

javascript - nginx reverse proxy js cross-domain problem?

My local IP is 192.168.32.157. The address that needs to be requested is the level parameter http://192.168.38.244/demo/gu...
But the page reports 404, as shown in the figure

js request image

nginx server diagram

Am I wrong to do this? I've been working on it for a long time but haven't gotten it right yet. Please help me. Thank you!

世界只因有你世界只因有你2691 days ago624

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-06-06 09:56:42

    This is not a cross-domain problem. This is 404 not found..

    reply
    0
  • PHP中文网

    PHP中文网2017-06-06 09:56:42

    proxy_pass http://192.168.38.244

    reply
    0
  • Cancelreply