Skip to content

Commit

Permalink
更新安装脚本(自动添加测试域名到白名单)
Browse files Browse the repository at this point in the history
  • Loading branch information
EtherDream committed May 31, 2019
1 parent b1b58d9 commit 87b629c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion i.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,14 @@ ssl_certificate cert/$domain/ecc.cer;
ssl_certificate_key cert/$domain/ecc.key;
" > server/cert/cert.conf

local url=https://$domain:8443
echo "
$url 'mysite';" >> server/allowed-sites.conf

log "证书申请完成,重启服务 ..."
server/run.sh reload

log "在线预览: https://$domain:8443"
log "在线预览: $url"
break
fi

Expand Down

0 comments on commit 87b629c

Please sign in to comment.