This collection of scripts and configuration creates everything needed for redirects: letsencrypt certificates, vhosts and redirects.
- On the very first time run
ansible-galaxy install geerlingguy.certbot gcoop-libre.apache
- Configure the redirects you want in
vars/main.yaml
. See the example file. - run
./create_vars.py > vars/vhosts.yaml
to create the vhosts configuration - run
ansible-playbook -i inventory configure_redirects.yaml
to create everything. This can take a while. - copy the file
apache/410.html
to the web root folder ofzzz.freifunk.net