documentation replaced

This commit is contained in:
C
2023-01-10 18:14:21 +05:00
parent b11e2536cb
commit 108878447d
31 changed files with 2 additions and 315175 deletions
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
View File
View File
@@ -1,4 +1,4 @@
var nginx_start = 115
var nginx_start = 10
var start_port = 47000
for (let i = 0; i < 20; i++) {
@@ -7,7 +7,7 @@ for (let i = 0; i < 20; i++) {
// console.log(` return 301 http://192.168.1.${nginx_start}:${start_port+i}/;`)
// console.log(` }`)
console.log(` location /${nginx_start}${start_port+i}/ {`)
console.log(` proxy_pass http://192.168.1.${nginx_start}:${start_port+i}/;`)
console.log(` proxy_pass http://192.168.0.${nginx_start}:${start_port+i}/;`)
console.log(' proxy_set_header Upgrade $http_upgrade;')
console.log(` proxy_set_header Connection 'upgrade';`)
console.log(' }')