File size: 792 Bytes
dfbc738
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
worker_processes auto;
events { worker_connections 1024; }

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;
    sendfile on;

    server {
        listen 7860;
        server_name _;

        location / {
            proxy_pass http://127.0.0.1:7861;
            include /etc/nginx/proxy.conf;
        }

        location /8642/ {
            proxy_pass http://127.0.0.1:8642/;
            include /etc/nginx/proxy.conf;
        }
        
        location /.well-known/agent-card.json {
            proxy_pass http://127.0.0.1:9900/.well-known/agent-card.json;
            include /etc/nginx/proxy.conf;
        }

        location /a2a/ {
            proxy_pass http://127.0.0.1:9900/;
            include /etc/nginx/proxy.conf;
        }
    }
}