I want to configure a spa development environment. Since the front and back ends are separated, I want to configure an nginx reverse proxy. After struggling for a long time, I still failed.
The function I need to implement: the front-end can get the data from the back-end without crossing domains.
This is the default
fe:
be:
Please give me some guidance.
Cross-domain issues have nothing to do with which reverse proxy server is used. Add Access-Control-Allow-Origin to the response header
Please refer to this article http://luojinping.com/2015/10/29/%E8% B7%...