add caddyfile and systemd service
This commit is contained in:
parent
3cc48dd3e8
commit
db9597c9d9
|
@ -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…
Reference in New Issue