美文网首页
【Nginx】

【Nginx】

作者: 木心Sepith | 来源:发表于2022-03-30 17:59 被阅读0次

记录一下Nginx配置的坑

官网
https://nginx.org/en/download.html

下载后找到配置文件
/conf/nginx.conf

打开后修改端口和location


image.png

这里有个坑,比如我要打开的网站是http://127.0.0.1:7888/DLC/
nginx会自动跳转到root(D:/HotRes)+location(/DLC/)的地址,及(D:/HotRes/DLC/)

相关文章

网友评论

      本文标题:【Nginx】

      本文链接:https://www.haomeiwen.com/subject/jldwjrtx.html