title: How to send an HTTPS request from an Angular front-end to a server secured with a self signed certificate?
body: <p>I can't see what's wrong with my request from the front-end Angular application.</p>
  
  <p>I previously sent the <code>https://thalasoft.com:8443/api/</code> request from the same browser and confirmed I okayed the self signed certificate.</p>
  
  <p>But when trying it from the front-end application at <code>https://stephaneeybert.github.io/stephaneeybert/ng-zero/login</code> which sends the request <code>https://thalasoft.com:8443/api/auth/login</code> the browser debug console shows a <code>Status Code: 504 Gateway Timeout (from ServiceWorker)</code></p>
  
  <p>I must add that the exact same login of this Angular front-end application and API server works fine when both are served from my <code>localhost</code> dev computer. The issue only occurs when the Angular front-end is served from GitPages and the API server from my remote server.</p>