소스 검색

feat: kafain independent api service

Acathur 5 년 전
부모
커밋
f18839b618
1개의 변경된 파일9개의 추가작업 그리고 4개의 파일을 삭제
  1. 9 4
      config/nginx/template/proginn.nginx.conf

+ 9 - 4
config/nginx/template/proginn.nginx.conf

@@ -89,14 +89,19 @@ server {
         deny all;
     }
 
+    location /api/v {
+        proxy_pass http://10.200.0.1:8811;
+        proxy_set_header Host $http_host;
+    }
+
     location /crpc {
-        proxy_pass http://172.17.255.24:8800;
-        proxy_set_header Host $host;
+        proxy_pass http://10.200.0.1:8800;
+        proxy_set_header Host $http_host;
     }
 
     location /prpc {
-        proxy_pass http://172.17.255.24:8003;
-        proxy_set_header Host $host;
+        proxy_pass http://10.200.0.1:8003;
+        proxy_set_header Host $http_host;
     }
 
     location / {