chawin.chen commited on
Commit
164dff4
·
1 Parent(s): e06e4f7
Files changed (1) hide show
  1. nginx/conf.d/ssl_proxy.conf +4 -4
nginx/conf.d/ssl_proxy.conf CHANGED
@@ -1,6 +1,6 @@
1
  upstream facescore_pool {
2
  least_conn;
3
- server t-ccy001:9190 max_fails=1 fail_timeout=60s;
4
  server 54.186.161.12:18880 max_fails=1 fail_timeout=60s;
5
  keepalive 64;
6
  }
@@ -8,7 +8,7 @@ upstream facescore_pool {
8
  upstream facescore_analyze {
9
  least_conn;
10
  #server t-ccy001:8711 weight=1 max_fails=1 fail_timeout=60s;
11
- server t-ccy001:9190 max_fails=1 fail_timeout=60s;
12
  #server cyberchawin-picpocket.hf.space weight=2 max_fails=1 fail_timeout=60s;
13
  server 54.186.161.12:18880 weight=1 max_fails=1 fail_timeout=60s;
14
  keepalive 64;
@@ -133,7 +133,7 @@ server {
133
  # proxy_pass http://www.hbgsyycx.cn;
134
  # proxy_pass http://54.186.161.12:18880;
135
  }
136
-
137
  location /cp_docs {
138
  proxy_pass http://facescore_pool;
139
  sub_filter '/openapi.json' '/cp_docs/openapi.json';
@@ -143,7 +143,7 @@ server {
143
  location /cp_docs/openapi.json {
144
  proxy_pass http://facescore_pool/openapi.json;
145
  }
146
-
147
  location /photo++ {
148
  rewrite ^/(.*) http://www.chawin.site:8342 redirect;
149
  }
 
1
  upstream facescore_pool {
2
  least_conn;
3
+ #server t-ccy001:9190 max_fails=1 fail_timeout=60s;
4
  server 54.186.161.12:18880 max_fails=1 fail_timeout=60s;
5
  keepalive 64;
6
  }
 
8
  upstream facescore_analyze {
9
  least_conn;
10
  #server t-ccy001:8711 weight=1 max_fails=1 fail_timeout=60s;
11
+ #server t-ccy001:9190 max_fails=1 fail_timeout=60s;
12
  #server cyberchawin-picpocket.hf.space weight=2 max_fails=1 fail_timeout=60s;
13
  server 54.186.161.12:18880 weight=1 max_fails=1 fail_timeout=60s;
14
  keepalive 64;
 
133
  # proxy_pass http://www.hbgsyycx.cn;
134
  # proxy_pass http://54.186.161.12:18880;
135
  }
136
+
137
  location /cp_docs {
138
  proxy_pass http://facescore_pool;
139
  sub_filter '/openapi.json' '/cp_docs/openapi.json';
 
143
  location /cp_docs/openapi.json {
144
  proxy_pass http://facescore_pool/openapi.json;
145
  }
146
+
147
  location /photo++ {
148
  rewrite ^/(.*) http://www.chawin.site:8342 redirect;
149
  }