ccf 4 gadi atpakaļ
vecāks
revīzija
8afffed3ee
1 mainītis faili ar 9 papildinājumiem un 2 dzēšanām
  1. 9 2
      config/nginx/template/proginn.nginx.conf

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

@@ -183,8 +183,15 @@ server {
     # rewrite ^/kaifain/(?!(add|preview))$ http://{{domain}}.test-kaifain.proginn.com/$1 permanent;
 
     location ^~ /uapi {
-         proxy_pass http://127.0.0.1:5000;
-         proxy_set_header Host {{domain}}.test.proginn.com;
+        proxy_pass http://127.0.0.1:5000;
+        proxy_set_header Host $host;
+        proxy_set_header X-Request-Id $temp_request_id;
+    }
+
+    location ~ ^/company$ {
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host $host;
+        proxy_set_header X-Request-Id $temp_request_id;
     }
 
     location ^~ /skill {