Nginx虚拟主机VirtualHost 配置
这里假设大家的Nginx服务器已经安装好,配置Virtualhost步骤如下:1.进入/usr/local/nginx/conf/vhost目录,创建虚拟主机配置文件demo.neoease.com.conf({域名}.conf).2.打开配置文件,添加服务如下:server { listen 80; server_name demo.neoease.com; index&...
这里假设大家的Nginx服务器已经安装好,配置Virtualhost步骤如下:1.进入/usr/local/nginx/conf/vhost目录,创建虚拟主机配置文件demo.neoease.com.conf({域名}.conf).2.打开配置文件,添加服务如下:server { listen 80; server_name demo.neoease.com; index&...