nginx 优先请求静态页,若没有请求动态页 配置:

 

location /item

{

#优先请求静态页
alias d:/web/staticfile/;

 # 文件不存在请求
if (!-f $request_filename)

  {
proxy_pass http://localhost:5728;
  }
}

 

 

支付 内网穿透:natappfree.cn; http://npb8qw.natappfree.cn 本地80端口开启
短信验证码:阿里云短信服务

相关文章:

  • 2021-05-30
  • 2021-10-07
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2021-09-08
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
相关资源
相似解决方案