摘要: 需要给一个ip绑定不同域名,例如有两个项目/www/,/www2/需要http://a.com时访问的是www 项目http://b.com访问的是www2项目那么需要在nginx/conf下的nginx.conf文件里(一下是我的配置文件内容)#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;pid logs/nginx.pid;events { worker_connections 1024;}ht 阅读全文