leiyun hace 11 meses
padre
commit
d7de09d906
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +1
    -1
      src/common/config/env/production.js
  2. +2
    -2
      src/home/controller/index.js

+ 1
- 1
src/common/config/env/production.js Ver fichero

@@ -11,7 +11,7 @@ export default {
// "kms.qbjjyyun.net", // "kms.qbjjyyun.net",
// "ams.qbjjyyun.net", // "ams.qbjjyyun.net",
// "data.qbjjyyun.net", // "data.qbjjyyun.net",
"xxzz.qbjjyyun.net",
// "xxzz.qbjjyyun.net",
"xxzz.h5.qbjjyyun.net", "xxzz.h5.qbjjyyun.net",
], ],
CERT_DIR:"/etc/nginx/cert", CERT_DIR:"/etc/nginx/cert",


+ 2
- 2
src/home/controller/index.js Ver fichero

@@ -38,9 +38,9 @@ function leAgree (opts, agreeCb) {
const greenlock = Greenlock.create({ const greenlock = Greenlock.create({
version: 'draft-12', version: 'draft-12',
// 测试环境 // 测试环境
// server: 'https://acme-staging-v02.api.letsencrypt.org/directory',
server: 'https://acme-staging-v02.api.letsencrypt.org/directory',
// 生产环境 // 生产环境
server: 'https://acme-v02.api.letsencrypt.org/directory',
// server: 'https://acme-v02.api.letsencrypt.org/directory',
store: leStore, store: leStore,
challenges: { challenges: {
'http-01': leHttpChallenge, 'http-01': leHttpChallenge,


Cargando…
Cancelar
Guardar