Skip to content

DF0ster/http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

  1. Compile the Server: Ensure you have OpenSSL installed on your system. Then, compile the project using the following commands:

mkdir build

cd build

cmake ..

make

  1. Run the Server:

./HttpServer

  1. HTTPS Setup: Use self-signed certificates for HTTPS support. You can create self-signed certificates using OpenSSL:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt

  1. Custom Configuration: Modify configurations as needed (e.g., port number, static directory).