12 Achegas a20f6add5b ... d88f7913bc

Autor SHA1 Mensaxe Data
  anderx d88f7913bc Merge branch 'dev' hai 11 meses
  anderx 8418855425 生产修改测试 hai 11 meses
  anderx 221551e474 生产修改测试 hai 11 meses
  anderx bd108c02fb Merge remote-tracking branch 'origin/master' hai 11 meses
  anderx 5e44ccd7f3 Merge remote-tracking branch 'origin/master' hai 11 meses
  Kevin 71b35431d5 更新 default.conf hai 11 meses
  anderx dc25b9653e 生产修改测试 hai 11 meses
  Kevin 00150d3e1c 更新 default.conf hai 11 meses
  anderx 09cb6a8301 nginx添加 hai 11 meses
  anderx 56ea090062 Merge remote-tracking branch 'origin/master' hai 11 meses
  anderx 7864753ee6 nginx添加 hai 11 meses
  hunankede 66fa33e6f1 新建文件 Dockerfile hai 11 meses
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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;