如果在docker 外侧找不到nginx 的配置文件和html等默认路径,进入doker容器中,就可以找到html文件了,这个路径就是nginx的默认访问路径。
alias 在访问时,location 后面的参数不加入到url中
root 访问时,location 后面的参数会加入到访问url中

事例
如果是root,到nginx的时候,会访问 usr/share/nginx/html/pc/index.html (加入了location 后面的路径 )
如果是alias, 到nginx的时候,访问 usr/share/nginx/html/pc/index.html.