updated local.js template

parent 5fcf6dce
Showing with 7 additions and 4 deletions
...@@ -36,11 +36,14 @@ module.exports = { ...@@ -36,11 +36,14 @@ module.exports = {
* responses over https:// and/or use websockets over the wss:// protocol * responses over https:// and/or use websockets over the wss:// protocol
* (recommended for HTTP, strongly encouraged for WebSockets) * (recommended for HTTP, strongly encouraged for WebSockets)
*/ */
ssl: {
// ca: fs.readFileSync(path.join(__dirname, 'ssl', 'development-bundle.crt')), /* UNCOMMENT FOR HTTPS */
key: fs.readFileSync(path.join(__dirname, 'ssl', 'development.key')), /* ssl: {
cert: fs.readFileSync(path.join(__dirname, 'ssl', 'development.crt')), ca: fs.readFileSync(path.join(__dirname, 'ssl', '/etc/letsencrypt/live/xxx.yottacode.com/chain.pem')),
key: fs.readFileSync(path.join(__dirname, 'ssl', '/etc/letsencrypt/live/xxx.yottacode.com/privkey.pem')),
cert: fs.readFileSync(path.join(__dirname, 'ssl', '/etc/letsencrypt/live/xxx.yottacode.com/fullchain.pem')),
}, },
*/
/** /**
* The `port` setting determines which TCP port your app will be * The `port` setting determines which TCP port your app will be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment