FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tinybalancer/config.yaml at main · RuningRabbit/tinybalancer · GitHub
RuningRabbit
/
tinybalancer
Public
Notifications
You must be signed in to change notification settings
Fork
85
Star
2
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
tinybalancer
/
config.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (17 loc) · 819 Bytes
Breadcrumbs
tinybalancer
/
config.yaml
Copy path
File metadata and controls
20 lines (17 loc) · 819 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
Copyright 2022 <mzh.scnu@qq.com>. All rights reserved.
#
Use of this source code is governed by a BSD-style
#
license that can be found in the LICENSE file.
#
The load balancing algorithms supported by the balancer are:
#
`round-robin` ,`random` ,`p2c`,`consistent-hash`,`bounded`,
#
Among these,`p2c` refers to the power of 2 random choice,
#
and `bounded` refers to consistent hash with bounded
schema
:
http
#
support http and https
port
:
8089
#
port for balancer
ssl_certificate
:
ssl_certificate_key
:
location
:
#
route matching for reverse proxy
-
pattern
:
/
proxy_pass
:
#
URL of the reverse proxy
-
"
http://127.0.0.1:1012
"
-
"
http://127.0.0.1:1013
"
balance_mode
:
round-robin
#
load balancing algorithm
Back
|
FazBrowse Home
|
New Git URL