mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-21 22:17:59 +00:00
add caddyfile and systemd service
This commit is contained in:
parent
3cc48dd3e8
commit
db9597c9d9
6
installation/relay.caddy
Normal file
6
installation/relay.caddy
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
relay.example.org {
|
||||||
|
gzip
|
||||||
|
proxy / 127.0.0.1:8080 {
|
||||||
|
transparent
|
||||||
|
}
|
||||||
|
}
|
9
installation/relay.service
Normal file
9
installation/relay.service
Normal 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
|
Loading…
Reference in a new issue