Production ready CTFd Docker image
You can set CTFd to a subpath, e.g /ctfd
Just add an environment variable during booting this image
SERVER_ROOT=/ctf
And now you can use nginx to proxy:
location /ctf/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /ctf;
proxy_pass http://127.0.0.1:8000;
}
Content type
Image
Digest
Size
171.3 MB
Last updated
over 7 years ago
docker pull toolisticon/ctf