add caddyfile and systemd service

This commit is contained in:
kaniini 2018-11-18 18:36:03 +00:00
parent 3cc48dd3e8
commit db9597c9d9
2 changed files with 15 additions and 0 deletions

6
installation/relay.caddy Normal file
View File

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

View File

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