search

Home  >  Q&A  >  body text

node.js - 在windows上使用nginx拦截node静态资源请求后,怎样从请求中看出来啊?

在windows上使用nginx拦截node静态资源请求后,怎样从请求中看出来啊?
location ~ ^/(images/|img/|javascript/|js/|css/|stylesheets/|flash/|media/|static/|assets/|public/|robots.txt|humans.txt|favicon.ico) {
root D:/code/public;
access_log off;
expires 30d;
}

伊谢尔伦伊谢尔伦2867 days ago506

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-17 15:41:03

    Look at Server:nginx/1.4.6 in the requested response

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:41:03

    The server deployed by nginx, by default, the server field in the return header indicates nginx

    reply
    0
  • Cancelreply