注意
这是以前老代码提取的,仅仅供参考!
home 之前 是直接指向 ngc 的 home.html
location / {
root $my_path/html;
try_files $uri $uri/ /home.html;
index /home.html;
}server {
listen 80;
listen [::]:80;
server_name g.q123q.cc;
location / {
proxy_pass http://139.186.203.160:3000$request_uri;
}
}