Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SSL setup in webpack #848

Closed
nekkon opened this issue Aug 11, 2016 · 2 comments
Closed

SSL setup in webpack #848

nekkon opened this issue Aug 11, 2016 · 2 comments

Comments

@nekkon
Copy link

nekkon commented Aug 11, 2016

Hello, I would like to know to setup webpack.prod.js so that the server will use https instead of simple http.

@ferredel
Copy link

Maybe I'm wrong but: When you do a npm run build:prod you get the webpacked version of you angular2 App. Then when you will use something to serve the static files (express, apache, nginx, ISS).

In that moment, when you serve the file, you should configure the server to work over HTTPS.

I hope this can help you.

@nekkon
Copy link
Author

nekkon commented Aug 16, 2016

Thank you

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants