NGinx Default public www location?

前端 未结 30 1100
野性不改
野性不改 2020-11-28 17:51

I have worked with Apache before, so I am aware that the default public web root is typically /var/www/.

I recently started working with nginx, but I ca

30条回答
  •  爱一瞬间的悲伤
    2020-11-28 18:13

    For nginx/1.4.6 (Ubuntu)

    /etc/nginx$ cat /etc/nginx/sites-available/default | grep -i root
    - root /usr/share/nginx/html;
    

提交回复
热议问题