title: Port and Proxy Config on ng-build
body: <p>I have a frontend running for example on int.myapp.com and it's backend on int.backend.myapp.com. I thought I can do the proxing with the proxy.config.json like this:</p>
  <pre><code> &quot;/api&quot;: {
      &quot;target&quot;: &quot;https://int.backend.myapp.com&quot;,
      &quot;secure&quot;: true,
      &quot;changeOrigin&quot;: true
    }
  </code></pre>
  <p>And in my package.json file</p>
  <pre><code>&quot;start&quot;: &quot;ng serve --proxy-config proxy.conf.json&quot;
  </code></pre>
  <p>Everything works on my dev environment.</p>
  <p>But when I build for production :</p>
  <pre><code>ng build --prod
  </code></pre>
  <p>and deploy on firebase</p>
  <pre><code>firebase deploy
  </code></pre>
  <p>The web application is not able to communicate with the API</p>
  <p>How can I do to fix it ?</p>