【Nginx】
2022-03-30 本文已影响0人
木心Sepith
记录一下Nginx配置的坑
官网
https://nginx.org/en/download.html
下载后找到配置文件
/conf/nginx.conf
打开后修改端口和location

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