I have Angular project which I would like to deploy on Apache server. I use ng build but I would like to custom address and endpoint for backend.
proxy.conf.json:
{
  "/api/*": {
    "target": "http://localhost:8080",
    "secure": false,
    "logLevel": "debug",
    "changeOrigin": true
  }
}
This configuration is not applied at all. How I can set it properly in order to change configurations?
Environment ts file:
import {environment as prod} from './environment.prod';
export const environment = Object.assign(prod, {
  production: false
});
 
     
    