12 Commits a20f6add5b ... d88f7913bc

Autor SHA1 Mensagem Data
  anderx d88f7913bc Merge branch 'dev' 11 meses atrás
  anderx 8418855425 生产修改测试 11 meses atrás
  anderx 221551e474 生产修改测试 11 meses atrás
  anderx bd108c02fb Merge remote-tracking branch 'origin/master' 11 meses atrás
  anderx 5e44ccd7f3 Merge remote-tracking branch 'origin/master' 11 meses atrás
  Kevin 71b35431d5 更新 default.conf 11 meses atrás
  anderx dc25b9653e 生产修改测试 11 meses atrás
  Kevin 00150d3e1c 更新 default.conf 11 meses atrás
  anderx 09cb6a8301 nginx添加 11 meses atrás
  anderx 56ea090062 Merge remote-tracking branch 'origin/master' 11 meses atrás
  anderx 7864753ee6 nginx添加 11 meses atrás
  hunankede 66fa33e6f1 新建文件 Dockerfile 11 meses atrás
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      nginx/conf.d/default.conf

+ 3 - 2
nginx/conf.d/default.conf

@@ -2,18 +2,19 @@ server {
         listen       8080;
         server_name  _;
         charset utf-8;
+        
         location / {
             root   /app;
             try_files $uri $uri/ /index.html;
             index  index.html index.htm;
         }
 
-        location /gw/ {
+        location /gw {
             proxy_set_header Host $http_host;
             proxy_set_header X-Real-IP $remote_addr;
             proxy_set_header REMOTE-HOST $remote_addr;
             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-            proxy_pass http://127.0.0.1:8880;
+            proxy_pass http://api-gateway:8080;
         }
 
         error_page   500 502 503 504  /50x.html;