using https or ssl for localhost development environment #1484
-
Hello All, Now I am trying to config
What else I am suppose to do? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Yes you need to use https in server.js |
Beta Was this translation helpful? Give feedback.
-
An alternative in development is to use a proxy so that you have https on the client side but http on the server. This is useful for me as my app is deployed behind a proxy server. |
Beta Was this translation helpful? Give feedback.
-
There is a example that uses devcert to use ssl in local dev. https://github.com/jaredpalmer/razzle/tree/master/examples/with-devcert-https |
Beta Was this translation helpful? Give feedback.
There is a example that uses devcert to use ssl in local dev.
https://github.com/jaredpalmer/razzle/tree/master/examples/with-devcert-https