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