記錄一下Nginx配置的坑
官網(wǎng)
https://nginx.org/en/download.html
下載后找到配置文件
/conf/nginx.conf
打開后修改端口和location

image.png
這里有個坑,比如我要打開的網(wǎng)站是http://127.0.0.1:7888/DLC/
nginx會自動跳轉(zhuǎn)到root(D:/HotRes)+location(/DLC/)的地址,及(D:/HotRes/DLC/)
記錄一下Nginx配置的坑
官網(wǎng)
https://nginx.org/en/download.html
下載后找到配置文件
/conf/nginx.conf
打開后修改端口和location
這里有個坑,比如我要打開的網(wǎng)站是http://127.0.0.1:7888/DLC/
nginx會自動跳轉(zhuǎn)到root(D:/HotRes)+location(/DLC/)的地址,及(D:/HotRes/DLC/)