Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-12-04 13:59:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4fe1d65517467095a9352e493f0207d96079fd37
4fe1d655
1 parent
e15b4145
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
app.js
app.js
View file @
4fe1d65
...
...
@@ -9,8 +9,9 @@ var http=require('http');
var
fs
=
require
(
"fs"
);
var
httpsOptions
=
{
key
:
fs
.
readFileSync
(
"/etc/letsencrypt/live/oss.chatbot.bu.to/privkey.pem"
),
cert
:
fs
.
readFileSync
(
"/etc/letsencrypt/live/oss.chatbot.bu.to/cert.pem"
)
hostname
:
'oss.chatbot.bu.to'
,
key
:
fs
.
readFileSync
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/privkey.pem'
),
cert
:
fs
.
readFileSync
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/cert.pem'
)
};
http
.
createServer
(
app
).
listen
(
80
);
...
...
Please
register
or
login
to post a comment