xiaofei 1 rok temu
rodzic
commit
2240e3ff8f
1 zmienionych plików z 8 dodań i 8 usunięć
  1. 8 8
      distributed-print/install/nginx/teachcloud.conf

+ 8 - 8
distributed-print/install/nginx/teachcloud.conf

@@ -3,19 +3,19 @@ server {
         charset utf-8;
  
         location ^~ / {
-				root  ../../teachcloud/web;
-				try_files $uri $uri/ /index.html;
+                root  ../../teachcloud/web;
+                try_files $uri $uri/ /index.html;
 		}
- 
+
         location /static/ {
                 alias ../../teachcloud/static/;
                 add_header Access-Control-Allow-Origin *;
         }
- 
-         location /mark/ {
-            alias  ../../teachcloud/web/mark/;
-            index  index.html index.htm;
-            try_files $uri $uri/ /mark/index.html;
+
+        location /mark/ {
+                alias  ../../teachcloud/web/mark/;
+                index  index.html index.htm;
+                try_files $uri $uri/ /mark/index.html;
         }
 		
         location ^~ /api/ {