https://github.com/toolisticon/ctfd-docker
Production ready CTFd Docker image
https://github.com/toolisticon/ctfd-docker
Last synced: 5 months ago
JSON representation
Production ready CTFd Docker image
- Host: GitHub
- URL: https://github.com/toolisticon/ctfd-docker
- Owner: toolisticon
- License: mit
- Created: 2018-06-04T15:16:53.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2023-12-15T02:41:22.000Z (over 2 years ago)
- Last Synced: 2025-01-25T07:23:24.949Z (over 1 year ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CTFd Docker image
[](https://travis-ci.org/toolisticon/ctfd-docker)
[](https://jenkins.holisticon.de/blue/organizations/jenkins/toolisticon%2Fctfd-docker/branches/)
[](https://hub.docker.com/r/toolisticon/ctf/)
[](https://hub.docker.com/r/toolisticon/ctf/)
[](https://hub.docker.com/r/toolisticon/ctf/)
> Production ready CTFd Docker image
# Deployment
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;
}
```