引用于文章https://blog.csdn.net/line_aijava/article/details/71473793 root: Sets the root directory for requests. For example, with the following configuration location /i/ { root /data/w3; }//The /data/w3/i/top.gif file will be sent in response to the “/i…