sfun commited on
Commit
263a5b7
1 Parent(s): 80beaad

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -1
nginx.conf CHANGED
@@ -10,7 +10,7 @@ http {
10
  listen 3001;
11
 
12
  location /ai/v1/ {
13
- rewrite ^/api/v1/(.*)$ /v1/$1 break;
14
  proxy_pass http://127.0.0.1:3000;
15
  proxy_set_header Host $host;
16
  proxy_set_header X-Real-IP $remote_addr;
 
10
  listen 3001;
11
 
12
  location /ai/v1/ {
13
+ rewrite ^/ai/v1/(.*)$ /v1/$1 break;
14
  proxy_pass http://127.0.0.1:3000;
15
  proxy_set_header Host $host;
16
  proxy_set_header X-Real-IP $remote_addr;