Browse Source

明确dist目录

Michael Wang 4 years ago
parent
commit
79aa612a31
1 changed files with 2 additions and 2 deletions
  1. 2 2
      conf/nginx.conf

+ 2 - 2
conf/nginx.conf

@@ -33,8 +33,8 @@ http {
         listen       80;
         listen       80;
         #server_name  localhost;
         #server_name  localhost;
         #root /Users/michael/Documents/qmth/web-deploy/dist;
         #root /Users/michael/Documents/qmth/web-deploy/dist;
-        # root /opt/dist;
-        root .;
+        root /opt/dist;
+        # root .;
 
 
         # location /(wap|web) {
         # location /(wap|web) {
         #     try_files $uri $uri/ /index.html;
         #     try_files $uri $uri/ /index.html;