javascript - How to modify the referer in the request header
天蓬老师2017-06-28 09:24:37
0
2
1341
When requesting an image, I found that the referer was judged to be invalid if noreferer was set. Is there any way to modify the referer in the request header?
Change the image address and set up an nginx proxy to the origin site
The front end cannot modify the referer. 'proxy_set_header referer' can be set via nginx proxy