1、安装nginx
yum -y install nginx
2、启动nginx
service nginx start
3、访问(nginx默认是80端口)
curl 127.0.0.1
4、nginx配置文件目录
/etc/nginx
5、重启nginx
service nginx restart
6、停用nginx
service nginx stop
nginx利用反向代理映射端口
http://nginx.org/en/docs/http…
1、安装nginx
yum -y install nginx
2、启动nginx
service nginx start
3、访问(nginx默认是80端口)
curl 127.0.0.1
4、nginx配置文件目录
/etc/nginx
5、重启nginx
service nginx restart
6、停用nginx
service nginx stop
nginx利用反向代理映射端口
http://nginx.org/en/docs/http…