- 积分
- 29
- 威望
-
- 金钱
-
- 注册时间
- 2022-10-21
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
你好 :我添加域名的时候用了两个 最后生成证书失败了是怎么回事呢
日志如下
Please enter domain(example: www.lnmp.org): admin.fullapi.io api.fullapi.io
Your domain: admin.fullapi.io api.fullapi.io
Enter more domain name(example: lnmp.org *.lnmp.org): admin.fullapi.io api.fullapi.io
domain list: admin.fullapi.io api.fullapi.io
Please enter the directory for the domain: admin.fullapi.io api.fullapi.io
Default directory: /home/wwwroot/admin.fullapi.io api.fullapi.io: /home/wwwroot/fullapi/public
Virtual Host Directory: /home/wwwroot/fullapi/public
Allow Rewrite rule? (y/n) y
Please enter the rewrite of programme,
wordpress,discuzx,typecho,thinkphp,laravel,codeigniter,yii2 rewrite was exist.
(Default rewrite: other): laravel
You choose rewrite: laravel
Enable PHP Pathinfo? (y/n) y
Enable pathinfo.
Allow access log? (y/n) y
Enter access log filename(Default:admin.fullapi.io api.fullapi.io.log):
You access log filename: admin.fullapi.io api.fullapi.io.log
Create database and MySQL user with same name (y/n) n
Add SSL Certificate (y/n) y
1: Use your own SSL Certificate and Key
2: Use Let's Encrypt to create SSL Certificate and Key
3: Use BuyPass to create SSL Certificate and Key
4: Use ZeroSSL to create SSL Certificate and Key
Enter 1, 2, 3 or 4: 2
It will be processed automatically.
Press any key to start create virtul host...
Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/laravel.conf
Test Nginx configure file......
nginx: [emerg] unknown log format "api.fullapi.io.log" in /usr/local/nginx/conf/vhost/admin.fullapi.io api.fullapi.io.conf:36
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Reload Nginx......
nginx: [emerg] unknown log format "api.fullapi.io.log" in /usr/local/nginx/conf/vhost/admin.fullapi.io api.fullapi.io.conf:36
Reload service php-fpm warning, no pid file found - php-fpm is not running ?
/usr/local/acme.sh/acme.sh [found]
/usr/bin/lnmp: line 1148: [: /usr/local/nginx/conf/ssl/admin.fullapi.io: binary operator expected
Starting create SSL Certificate use Let's Encrypt...
[Thu Nov 10 10:39:28 CST 2022] Unknown parameter : api.fullapi.io
Let's Encrypt SSL Certificate create failed!
================================================
Virtualhost infomation:
Your domain: admin.fullapi.io api.fullapi.io
Home Directory: /home/wwwroot/fullapi/public
Rewrite: laravel
Enable log: yes
Create database: no
Create ftp account: no
Enable SSL: yes
=>Let's Encrypt
================================================
|
|