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