本文共 147 字,大约阅读时间需要 1 分钟。
在location标签下面添加try_files标签内容
location / { root /usr/local/nginx/html/dist; index index.html index.htm; try_files $uri $uri/ /index.html;}
转载地址:http://icse.baihongyu.com/