add caddyfile and systemd service

master
kaniini 4 years ago
parent 3cc48dd3e8
commit db9597c9d9
  1. 6
      installation/relay.caddy
  2. 9
      installation/relay.service

@ -0,0 +1,6 @@
relay.example.org {
gzip
proxy / 127.0.0.1:8080 {
transparent
}
}

@ -0,0 +1,9 @@
[Unit]
Description=ActivityPub Relay
[Service]
WorkingDirectory=/home/relay/relay
ExecStart=/usr/bin/python3 -m relay
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save