84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
1. The question is as stated in the title, thank you all for your answers!
server { listen 80; server_name www.abd.com; location / { root /项目目录/node/dist; index index.html; } }
Added: server_name can be arbitrary:
server { listen 80; server_name www.abd.com; location /{ proxy_pass http://www.abd.com/node/dist/index.html; } }
Of course, you can also use redirects
Added: server_name can be arbitrary:
Of course, you can also use redirects