##// END OF EJS Templates
docs: added channelstream example
marcink -
r477:a554162e default
parent child Browse files
Show More
@@ -63,11 +63,30 b' Use the following example to configure N'
63 # alias /path/to/.rccontrol/enterprise-1/static;
63 # alias /path/to/.rccontrol/enterprise-1/static;
64 # }
64 # }
65
65
66 ## channel stream live components
67 location /_channelstream {
68 rewrite /_channelstream/(.*) /$1 break;
69 proxy_connect_timeout 10;
70 proxy_send_timeout 10m;
71 proxy_read_timeout 10m;
72 tcp_nodelay off;
73 proxy_pass http://127.0.0.1:9800;
74 proxy_set_header Host $host;
75 proxy_set_header X-Real-IP $remote_addr;
76 proxy_set_header X-Url-Scheme $scheme;
77 proxy_set_header X-Forwarded-Proto $scheme;
78 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
79 gzip off;
80 proxy_http_version 1.1;
81 proxy_set_header Upgrade $http_upgrade;
82 proxy_set_header Connection "upgrade";
83 }
84
66 location / {
85 location / {
67 try_files $uri @rhode;
86 try_files $uri @rhode;
68 }
87 }
69
88
70 location @rhode {
89 location @rhode {
71 proxy_pass http://rc;
90 proxy_pass http://rc;
72 }
91 }
73 }
92 }
General Comments 0
You need to be logged in to leave comments. Login now