Spaces:
Running
Running
change url
Browse files- default.conf.template +2 -2
default.conf.template
CHANGED
|
@@ -18,8 +18,8 @@ server {
|
|
| 18 |
return 204;
|
| 19 |
}
|
| 20 |
|
| 21 |
-
proxy_pass https://
|
| 22 |
-
proxy_set_header Host
|
| 23 |
proxy_set_header Authorization "Bearer $HF_API_TOKEN";
|
| 24 |
proxy_set_header X-Real-IP $remote_addr;
|
| 25 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
| 18 |
return 204;
|
| 19 |
}
|
| 20 |
|
| 21 |
+
proxy_pass https://tokyotechlab-be.hf.space/v1/;
|
| 22 |
+
proxy_set_header Host tokyotechlab-be.hf.space;
|
| 23 |
proxy_set_header Authorization "Bearer $HF_API_TOKEN";
|
| 24 |
proxy_set_header X-Real-IP $remote_addr;
|
| 25 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|