diff --git a/installation/relay.caddy b/installation/relay.caddy new file mode 100644 index 0000000..8cd9b28 --- /dev/null +++ b/installation/relay.caddy @@ -0,0 +1,6 @@ +relay.example.org { + gzip + proxy / 127.0.0.1:8080 { + transparent + } +} diff --git a/installation/relay.service b/installation/relay.service new file mode 100644 index 0000000..10ae29a --- /dev/null +++ b/installation/relay.service @@ -0,0 +1,9 @@ +[Unit] +Description=ActivityPub Relay + +[Service] +WorkingDirectory=/home/relay/relay +ExecStart=/usr/bin/python3 -m relay + +[Install] +WantedBy=multi-user.target