在对应的 server 配置段中增加如下配置

    1. location / {
    2. try_files $uri $uri/ /index.html;
    3. }