nginx:关于刷新404问题

   location / {
      root /www/wwww.kingbal.com;
      if (!-e $request_filename) {
          rewrite ^(.*)$ /index.html?s=$1 last;
          break;
      }
    }

 

 

你可能感兴趣的:(运维,前端,nginx,运维)