Nginx配置伪静态

Nginx配置伪静态

location / {
	try_files $uri $uri/ @router;
	index  index.html index.htm;
}
	location @router {
	rewrite ^.*$ /index.html last;
}
end