k-l-lambda commited on
Commit
2e55f36
·
1 Parent(s): e8cbdd9

update: export from starry-refactor 2026-02-18 14:41

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -2
nginx.conf CHANGED
@@ -28,8 +28,8 @@ http {
28
  server {
29
  listen 7860;
30
 
31
- # cluster-server routes: /api/score (singular)
32
- location /api/score {
33
  proxy_pass http://cluster_server;
34
  proxy_set_header Host $host;
35
  proxy_set_header X-Real-IP $remote_addr;
 
28
  server {
29
  listen 7860;
30
 
31
+ # cluster-server routes: /api/score (singular, NOT /api/scores)
32
+ location ~ ^/api/score(/|$) {
33
  proxy_pass http://cluster_server;
34
  proxy_set_header Host $host;
35
  proxy_set_header X-Real-IP $remote_addr;