4

As of now with angular cli (beta 28), NG development server runs with defaultly HTTP. If we want to run with HTTPS. we need to do something else..

2
  • 2
    Got it!!!. After setting up project with angular cli (beta 28). we need to install browser-sync by using command.. NPM install browser-sync. after installing go to folder ... ../node_modules/browser-sync/lib/serve/certs copy the above folder and paste at "src" folder level and name it as (cert) in my case. And made some changes to package.json as shown below "scripts": { "start": "ng serve --ssl true --ssl-key certs/server.key --ssl-cert ssl/server.crt --proxy-config proxy.config.json" } Commented Apr 26, 2017 at 18:15
  • stackoverflow.com/questions/54453112/… Commented Jan 31, 2019 at 4:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.