File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # replace YOUR_NODE and YOUR_AUTH_TOKEN_HERE
2+ # docker run -v /path/to/nginx-triton1.conf:/etc/nginx/nginx.conf:ro -p 7899:7899 -p 7900:7900 -d docker.io/nginx
3+
4+ worker_processes 1;
5+
6+ events {}
7+
8+ http {
9+ include /etc/nginx/mime.types;
10+
11+ rewrite_log on;
12+
13+ keepalive_requests 2147483647; # int32 max
14+
15+ client_max_body_size 0;
16+
17+ server {
18+ listen 7900;
19+ location / {
20+ proxy_set_header Upgrade $http_upgrade;
21+ proxy_set_header Connection "Upgrade";
22+ proxy_pass https://YOUR_NODE.rpcpool.com/YOUR_AUTH_TOKEN_HERE/;
23+ }
24+ }
25+ server {
26+ listen 7899;
27+ location / {
28+ proxy_http_version 1.1;
29+ proxy_set_header Connection "";
30+ proxy_pass https://YOUR_NODE.rpcpool.com/YOUR_AUTH_TOKEN_HERE/;
31+ }
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments