摘要:
1.在/root目录下增加web文件放置前端静态文件 2.添加配置文件(/etc/nginx/conf.d/)web.conf server{ listen 80; # server_name ip;//ip就是公网ip server_name 域名; //域名 location / { alias 阅读全文
摘要:
1.安装Nginx yum install nginx 2.修改配置文件nginx.conf(/etc/nginx) # For more information on configuration, see: # * Official English Documentation: http://ng 阅读全文