瀏覽代碼

change nginx docroot to /var/www/html/public

ksieren 2 年之前
父節點
當前提交
bb1dab9ebd
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      rootfs/nginx.conf

+ 1 - 2
rootfs/nginx.conf

@@ -2,8 +2,7 @@
 server {
     listen 80;
     server_name _;
-    root /var/www/html;
-
+    root /var/www/html/public;
     index index.php index.html index.htm;
 
     location / {