File size: 507 Bytes
c76423d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
worker_processes 1;
pid /run/nginx.pid;
error_log /var/log/nginx_error.log warn;

events {
    worker_connections 256;
}

http {
    access_log off;
    
    upstream backend {
        server 127.0.0.1:8888;
    }
    
    server {
        listen 7860;
        
        location / {
            proxy_pass http://backend;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_connect_timeout 10;
            proxy_read_timeout 30;
        }
    }
}