郭超 4 år sedan
förälder
incheckning
efd4d8b895
3 ändrade filer med 16 tillägg och 0 borttagningar
  1. BIN
      src/assets/img/mooctest.png
  2. 8 0
      tool4deploy-test/conf.d/nginx.conf
  3. 8 0
      tool4deploy/conf.d/nginx.conf

BIN
src/assets/img/mooctest.png


+ 8 - 0
tool4deploy-test/conf.d/nginx.conf

@@ -28,6 +28,14 @@ server {
             proxy_send_timeout 1200s;
         }
 
+        location /page {
+            proxy_pass http://crowd_user:8081;
+        }
+
+        location  ~ ^/(js|vendor|css|fonts|images)/.*$ {
+            proxy_pass http://crowd_user:8081;
+        }
+
         #error_page  404              /404.html;
 
         # redirect server error pages to the static page /50x.html

+ 8 - 0
tool4deploy/conf.d/nginx.conf

@@ -28,6 +28,14 @@ server {
             proxy_send_timeout 1200s;
         }
 
+        location /page {
+            proxy_pass http://crowd_user:8081;
+        }
+
+        location  ~ ^/(js|vendor|css|fonts|images)/.*$ {
+            proxy_pass http://crowd_user:8081;
+        }
+
         #error_page  404              /404.html;
 
         # redirect server error pages to the static page /50x.html