beng-proxy
is a web server designed for shared web hosting. This
repository also contains beng-lb
, a load balancer.
For more information, read the manual in the doc directory.
You need:
- Linux kernel 5.12 or later
- a C++20 compliant compiler (e.g. GCC 10 or clang 10)
- libfmt
- libpq
- CURL
- D-Bus
- systemd
- OpenSSL
- libsodium
- Meson 1.0 and Ninja
Optional dependencies:
- nghttp2
- libcap2 for dropping unnecessary Linux capabilities
- libseccomp for system call filter support
- liburing
- libwas
- LuaJIT
- Avahi
Get the source code:
git clone --recursive https://github.com/CM4all/beng-proxy.git
Run meson
:
meson setup output
Compile and install:
ninja -C output ninja -C output install
After installing the build dependencies (dpkg-checkbuilddeps
),
run:
dpkg-buildpackage -rfakeroot -b -uc -us