updated local.js template

parent 5fcf6dce
Showing with 7 additions and 4 deletions
......@@ -36,11 +36,14 @@ module.exports = {
* responses over https:// and/or use websockets over the wss:// protocol
* (recommended for HTTP, strongly encouraged for WebSockets)
*/
ssl: {
// ca: fs.readFileSync(path.join(__dirname, 'ssl', 'development-bundle.crt')),
key: fs.readFileSync(path.join(__dirname, 'ssl', 'development.key')),
cert: fs.readFileSync(path.join(__dirname, 'ssl', 'development.crt')),
/* UNCOMMENT FOR HTTPS */
/* ssl: {
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
......
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