|
|
@@ -180,9 +180,13 @@ server {
|
|
|
index index.php index.html index.htm;
|
|
|
|
|
|
rewrite ^/job/(.*)$ https://{{domain}}.test-job.proginn.com/$1 permanent;
|
|
|
- rewrite ^/uapi/(.*)$ https://user.test.proginn.com/$1 last;
|
|
|
# rewrite ^/kaifain/(?!(add|preview))$ http://{{domain}}.test-kaifain.proginn.com/$1 permanent;
|
|
|
|
|
|
+ location ^~ /uapi {
|
|
|
+ proxy_pass https://user.test.proginn.com;
|
|
|
+ proxy_set_header Host {{domain}}.test.proginn.com;
|
|
|
+ }
|
|
|
+
|
|
|
location ^~ /skill {
|
|
|
proxy_pass http://127.0.0.1:3000;
|
|
|
proxy_set_header Host {{domain}}.test.proginn.com;
|