Skip to content

zulqarDOTnet/pure-cpp-web-server

Repository files navigation

Pure C++ HTTP Web Server

Fast, lightweight, pure C++ HTTP Web Server

Download

git clone https://github.com/zulqarDOTnet/pure-cpp-web-server.git
cd pure-cpp-web-server

Compile & Run

Docker

docker compose build && docker compose up -d

Update Docker Container

docker compose build --no-cache && docker compose up -d --force-recreate

Removing Docker Container

docker stop pure-cpp-web-server
docker rm pure-cpp-web-server

Debian/Ubuntu and other derivatives

sudo apt-get install g++ build-essential nlohmann-json3-dev libboost-all-dev zlib1g-dev zstd brotli
sh build_run.sh

Configuration

Please check in the config config.json for configuration options or to enable or disable certain features or behaviors.

License

Author License