Spaces:
Sleeping
Sleeping
| 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; | |
| } | |
| } | |
| } | |