I am trying to send and receive data through Api form wordpress to Erpnext.
My production server Ip address like 35.208.xx.xxx:8000,
when I send the request through java script ajax in url 35.208.xx.xxx:8000 it shown the error."Cross-Origin Read Blocking"
But when I configure the nginx server and assign it to the port 8001 or any other port then request failed .
I also run and setup the nginx command to configure and add the ‘Access-Control-Allow-Origin’ to the file nginx.conf