xiatian 9 месяцев назад
Родитель
Сommit
7097aea282
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      install/nginx/scan_central.conf

+ 5 - 0
install/nginx/scan_central.conf

@@ -4,6 +4,11 @@ server {
         proxy_read_timeout 300s;
         proxy_connect_timeout 300s;
         proxy_send_timeout 300s;
+		
+		location / {
+            root   ../../markingcet/web;
+            try_files  $uri  $uri/  /index.html;
+        }
  
         location /file/ {
                 alias ../../scancentral/static/;