xinme 发表于 2012-10-4 14:54:33

lnmp用什么命令开启8080端口 在线等

由于域名封80端口 lnmp用什么命令开启8080端口啊

licess 发表于 2012-10-4 15:17:13

默认虚拟主机修改/usr/local/nginx/conf/nginx.conf
/root/vhost.sh 添加的修改/usr/local/nginx/conf/vhost/域名.conf
里面listen后的80改成你要的

wixsky 发表于 2012-10-6 12:36:49

然后防火墙打开 8080
/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
/etc/rc.d/init.d/iptables save
/etc/init.d/iptables restart
页: [1]
查看完整版本: lnmp用什么命令开启8080端口 在线等