2025-07-16 20:25:01 +02:00
|
|
|
# less_shitty_proxyjs implementation using redis and traefik
|
|
|
|
|
|
|
|
|
|
Install the traefik proxyjs.yml file (using the file provider!) to register the default handler that does load balancing to all proxyjs instances
|
|
|
|
|
Install redis in traefik, to allow for dynamic route updates
|
|
|
|
|
|
|
|
|
|
## Build and run
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
git clone https://code.brunner.ninja/feedc0de/less_shitty_proxyjs.git
|
|
|
|
|
cd less_shitty_proxyjs/
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build/
|
|
|
|
|
qmake6 ..
|
|
|
|
|
make -j8
|
|
|
|
|
parallel -j10 --linebuffer ./less_shitty_proxyjs 'test{}' '950{}' ::: {0..9}
|
|
|
|
|
```
|
2025-07-16 20:30:49 +02:00
|
|
|
|
|
|
|
|
## Screenshots
|
|
|
|
|
|
|
|
|
|
The server creates dynamic routes based on the serial number provided in the url
|
|
|
|
|

|