mirror of
https://github.com/PretendoNetwork/SSSL-DNS.git
synced 2026-10-24 01:12:39 -05:00
c446e4ec58e9f5688e7c5031d7b5677fd078263e
This switches the CMDs to array syntax to avoid invoking a shell, which seems to prevent the stop signal from working correctly in both containers. Also switches from pm2 to pm2-runtime, as is recommended for running pm2 inside Docker.
SSSL DNS
This project contains a DNS server and a custom Nginx configuration intended to be used in conjunction with SSSL.
Usage
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.pemandssl-cert-private-key.pemfrom SSSL to thenginxdirectory in this repository. - Create an Nginx configuration file
nginx.confin thenginxdirectory. Check the Nginx configuration README for more information. - Create a
.envfile in thednsdirectory. Check the DNS server README for more information. - Run
docker-compose up -d --buildto build and start your SSSL environment. This will take some time the first time you run it but will be faster on subsequent runs.
Languages
TypeScript
60.5%
Dockerfile
39.5%