不能同时运行,必须停止一个。
nginx默认目录时/home/wwwroot/default
apache 默认目录时/var/www/
记住二者,用其中一个时,去相应根目录去编辑
www.nanfengnan.net
我的域名是www.nanfengnan.xyz 1 年
我的虚拟主机
================================================
Virtualhost infomation:
Your domain: www.nanfengnan.xyz
Home Directory: /home/wwwroot/www.nanfengnan.xyz
Rewrite: other
Enable log: yes
Database username: mysql linux
Database userpassword: 20003234fenglei
Database Name: mysql linux
Create ftp account: no
Enable SSL: yes
=>Let's Encrypt
========================
https://lnmp.org/faq/lnmp-vhost-add-howto.html 详细教程