Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
97f2cb06
authored
Nov 24, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated local.js template
parent
5fcf6dce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
sails/roles/server/files/local.js
sails/roles/server/files/local.js
View file @
97f2cb06
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment