animeic 2 anos atrás
pai
commit
eca5e07d4b
1 arquivos alterados com 8 adições e 4 exclusões
  1. 8 4
      nginx/conf.d/default.conf

+ 8 - 4
nginx/conf.d/default.conf

@@ -3,10 +3,10 @@ server {
     listen  [::]:80;
     server_name  localhost;
     #access_log  /var/log/nginx/host.access.log  main;
-    location / {
-        root   /usr/share/nginx/html;
-        index  index.html index.htm;
-    }
+    # location / {
+    #     root   /usr/share/nginx/html;
+    #     index  index.html index.htm;
+    # }
     #error_page  404              /404.html;
 
     # redirect server error pages to the static page /50x.html
@@ -42,6 +42,10 @@ server {
    # 3dshow2.0 用户
    location /user/ {
       proxy_pass  http://3dshow2-user:8908/usercenter/;
+   }
+   # 3dshow2.0
+   location / {
+      proxy_pass  http://3dshow2:8888/3dshow/;
    }