摘要: 1.在/root目录下增加web文件放置前端静态文件 2.添加配置文件(/etc/nginx/conf.d/)web.conf server{ listen 80; # server_name ip;//ip就是公网ip server_name 域名; //域名 location / { alias 阅读全文
posted @ 2023-01-31 14:51 李林林 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1.安装Nginx yum install nginx 2.修改配置文件nginx.conf(/etc/nginx) # For more information on configuration, see: # * Official English Documentation: http://ng 阅读全文
posted @ 2023-01-31 14:41 李林林 阅读(18) 评论(0) 推荐(0) 编辑