Update nginx.conf
Browse files- nginx.conf +1 -1
nginx.conf
CHANGED
@@ -10,7 +10,7 @@ http {
|
|
10 |
listen 3001;
|
11 |
|
12 |
location /ai/v1/ {
|
13 |
-
rewrite ^/
|
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;
|