This repo will let you run CTFd as a secure (HTTPS) site on Ubuntu 20.04.
-
Run the
setup4ssl.sh
script in this repo:sudo ./setup4ssl.sh
-
Edit the
hostname
line in thedocker-compose-production.yml
file to match the hostname you have defined to point to your server. For example, if your server name ismyctf.com
, then change thehostname: localhost
line in thedocker-compose-production.yml
file tohostname: myctf.com
.
In the terminal, run sudo docker-compose -f docker-compose.yml -f docker-compose-production.yml up -d
or
sudo ./run-tls.sh
- CTFd by CTFd
- HTTPS by Josh Grossman