Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -6,6 +6,7 @@ var request = require('request'); | ... | @@ -6,6 +6,7 @@ var request = require('request'); |
6 | var https=require('https'); | 6 | var https=require('https'); |
7 | const lex = require('greenlock-express').create({ | 7 | const lex = require('greenlock-express').create({ |
8 | version: 'draft-11', // 버전2 | 8 | version: 'draft-11', // 버전2 |
9 | + store: require('greenlock-store-fs'), | ||
9 | configDir: '/etc/letsencrypt', // 또는 ~/letsencrypt/etc | 10 | configDir: '/etc/letsencrypt', // 또는 ~/letsencrypt/etc |
10 | approveDomains: (opts, certs, cb) => { | 11 | approveDomains: (opts, certs, cb) => { |
11 | if (certs) { | 12 | if (certs) { |
... | @@ -20,6 +21,7 @@ const lex = require('greenlock-express').create({ | ... | @@ -20,6 +21,7 @@ const lex = require('greenlock-express').create({ |
20 | renewBy: 80 * 24 * 60 * 60 * 1000, | 21 | renewBy: 80 * 24 * 60 * 60 * 1000, |
21 | });//papago api | 22 | });//papago api |
22 | 23 | ||
24 | + | ||
23 | https.createServer(lex.httpsOptions, lex.middleware(app)).listen(process.env.SSL_PORT || 443); | 25 | https.createServer(lex.httpsOptions, lex.middleware(app)).listen(process.env.SSL_PORT || 443); |
24 | //번역 api_url | 26 | //번역 api_url |
25 | var translate_api_url = 'https://openapi.naver.com/v1/papago/n2mt'; | 27 | var translate_api_url = 'https://openapi.naver.com/v1/papago/n2mt'; | ... | ... |
-
Please register or login to post a comment