# 测试3 location / { root /usr/local/openresty/nginx/html/test3; index index.html index.htm; try_files $uri $uri/ /index.html; #解决页面刷新404问题 }