This repository contains source code for the simple Protokolla Relay info page.
- Install tor relay
- Configure tor relay
- Setup following DNS records:
A tor-relay-1.palvelin IN this.ip.add.ress
CNAME relay IN tor-relay-1.palvelin
- Install apache2 (
apt install apache2) - Install git (
apt install git) - Clear
/var/www/htmldirectory (rm /var/www/html/*) - Clone this repository to
/var/www/html(git clone https://github.com/protokolla/relay.git .) - Install certbot (
apt install certbot) - Install apache plugin for certbot (
apt install python-certbot-apache) - DOES NOT WORK Setup cert (
certbot --apache --noninteractive --domain relay.protokolla.fi --agree-tos --email relay@protokolla.fi) - Add certbot to crontab (
0 12 * * * /usr/bin/certbot renew --quiet)
- Make ansible script for automatic setup
- Enable htaccess https://askubuntu.com/questions/429869/is-this-a-correct-way-to-enable-htaccess-in-apache-2-4-7
- Fix certbot
- Link todo.protokolla.fi kanbana here