Added the Nginx config for the main ctf page including https and http redirect rules using letsencrypt certificates. Updated README.md
11 lines
385 B
Markdown
11 lines
385 B
Markdown
# Minzkrauts home-made CTF
|
|
|
|
## Letsencrypt certificates
|
|
Navigate to certbot location and create certificate files with
|
|
```
|
|
sudo ./certbot-auto certonly --webroot -w var/www/html -d ctf.minzkraut.com --non-interactive --agree-tos --email {email}
|
|
```
|
|
Renew certificates and reload nginx with
|
|
```
|
|
sudo ./certbot-auto renew --webroot -w /var/www/html --post-hook "service nginx reload"
|
|
``` |