nginx 配置好后不能访问

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf //nginx启动命令 有多是访问墙的缘由,请尝试关闭html 关闭防火墙的方法为:nginx 1. 永久性生效code 开启:chkconfig iptables onhtm 关闭:chkconfig iptables offip 2. 即时生效,重启后失效cmd 开启
相关文章
相关标签/搜索