proxy – A problem with CORS when using a local server and a Webpack dev server proxy

I'm using a local web server (OpenServer) for a site with a database and php and a web pack with a webpack-dev-server for front-end development. I make a call to the local server via a webpack dev server proxy:

const webpack = require (& # 39; webpack & # 39;);
const path = require (& # 39;) & # 39;

module.exports = params => ({
devServer: {
contentBase: params.path.public,
publicPath: params.path.publicPath,
compress: true
host: params.devServer.host, // anyships.site
port: params.devServer.port, // 3000
hot: true
headers: {
& # 39; Access-Control-Allow-Origin: & # 39;
}
openPage: & # 39;
proxy: {
& # 39 ;:
target: params.devServer.proxy.path, // http://anyships.site (local server port: 80)
changeOrigin: true
}
}
}
plugins: [
    new webpack.HotModuleReplacementPlugin()
  ]
});

When you open the page with requests to the database to receive data, the response appears in the browser:

Access to XMLHttpRequest at & # 39; http: //anyships.site/ru/matrix/2892' (redirected from & # 39; http: //anyships.site.02000/matrix/2892') from the origin & # 39; http: //anyships.site.l000 "was blocked by the access control line "; it contains a list of several values.

Can you please tell me how to configure proxy server developers to eliminate CORS blocking. Thank you in advance for any help!