Browse Source

feat: kafain independent api service

Acathur 5 years ago
parent
commit
f18839b618
1 changed files with 9 additions and 4 deletions
  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 / {