location /jxjy_app { root /home/wzh/jxjy; if (!-e $request_filename) { rewrite ^/(.*) /jxjy_app/index.html last; break; } }
location /jxjy_app { root /home/wzh/jxjy; if (!-e $request_filename) { rewrite ^/(.*) /jxjy_app/index.html last; break; } }
转载于:https://www.cnblogs.com/6324/p/10454678.html