You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
723 B
35 lines
723 B
![]()
3 years ago
|
# Regela HTTPS Balancer
|
||
|
|
||
|
### Lightweght SSL redirector
|
||
|
### Written by Elizar [@Regela](https://sources.krechet.tech/Regela)
|
||
|
|
||
|
#### Example .yml config included
|
||
|
#### Usage:
|
||
|
```
|
||
|
~> ./HttpsBalancer/main --help
|
||
|
Usage of ./HttpsBalancer/main:
|
||
|
-example
|
||
|
-i string
|
||
|
/path/to/config/file.yml (default "none")
|
||
|
|
||
|
~> ./HttpsBalancer/main -example
|
||
|
listeners:
|
||
|
- listenaddress: 0.0.0.0:1443
|
||
|
protocol: tcp
|
||
|
packettype: https
|
||
|
rules:
|
||
|
- host: host1.ru
|
||
|
ip: 10.10.0.50:443
|
||
|
- host: host2.ru
|
||
|
ip: 10.10.0.51:443
|
||
|
defaultip: 127.0.0.1:443
|
||
|
- listenaddress: 0.0.0.0:1080
|
||
|
protocol: tcp
|
||
|
packettype: http
|
||
|
rules:
|
||
|
- host: host1.ru
|
||
|
ip: 10.10.0.50:80
|
||
|
- host: host2.ru
|
||
|
ip: 10.10.0.51:80
|
||
|
defaultip: 127.0.0.1:80
|
||
|
```
|