abenkbp commited on
Commit
88883ee
·
1 Parent(s): 79597b1
Files changed (1) hide show
  1. data/nginx.conf +10 -5
data/nginx.conf CHANGED
@@ -2,11 +2,9 @@ server {
2
  listen 7860;
3
  listen [::]:7860;
4
 
5
- server_name _;
6
 
7
- # Define Authorization header value directly if environment variable is set in the OS
8
-
9
- location /backend/ {
10
  proxy_pass http://localhost:7000;
11
  proxy_http_version 1.1;
12
  proxy_set_header Upgrade $http_upgrade;
@@ -18,6 +16,13 @@ server {
18
  proxy_read_timeout 86400;
19
  proxy_redirect off;
20
  }
 
 
 
 
 
 
 
21
 
22
  location / {
23
  proxy_pass http://localhost:5678;
@@ -31,4 +36,4 @@ server {
31
  proxy_read_timeout 86400;
32
  proxy_redirect off;
33
  }
34
- }
 
2
  listen 7860;
3
  listen [::]:7860;
4
 
5
+ server_name ucode-agent.hf.space;
6
 
7
+ location / {
 
 
8
  proxy_pass http://localhost:7000;
9
  proxy_http_version 1.1;
10
  proxy_set_header Upgrade $http_upgrade;
 
16
  proxy_read_timeout 86400;
17
  proxy_redirect off;
18
  }
19
+ }
20
+
21
+ server {
22
+ listen 7860;
23
+ listen [::]:7860;
24
+
25
+ server_name agent-one.ai.ucode.id;
26
 
27
  location / {
28
  proxy_pass http://localhost:5678;
 
36
  proxy_read_timeout 86400;
37
  proxy_redirect off;
38
  }
39
+ }