This project contains a DNS server and a custom Nginx configuration intended to be used in conjunction with SSSL.
The provided example Docker Compose file shows a setup that runs both the DNS server and Nginx together. Here's how to set it up:
- Clone this repository:
git clone https://github.com/PretendoNetwork/SSSL-DNS.git
. - Use SSSL to create your own patched SSL certficiates.
- Copy the
cert-chain.pem
andssl-cert-private-key.pem
from SSSL to thenginx
directory in this repository. - Create an Nginx configuration file
nginx.conf
in thenginx
directory. Check the Nginx configuration README for more information. - Create a
.env
file in thedns
directory. Check the DNS server README for more information. - Run
docker-compose up -d --build
to build and start your SSSL environment. This will take some time the first time you run it but will be faster on subsequent runs.