spc-pleroma/installation/caddyfile-pleroma.example

18 lines
480 B
Plaintext
Raw Permalink Normal View History

2018-11-03 22:59:52 +00:00
# default Caddyfile config for Pleroma
#
# Simple installation instructions:
# 1. Replace 'example.tld' with your instance's domain wherever it appears.
2018-11-03 22:59:52 +00:00
# 2. Copy this section into your Caddyfile and restart Caddy.
example.tld {
2022-03-06 13:24:32 +00:00
log {
output file /var/log/caddy/pleroma.log
}
2018-06-03 18:13:33 +00:00
2022-03-06 13:24:32 +00:00
encode gzip
2018-06-03 18:13:33 +00:00
# this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only
# and `localhost.` resolves to [::0] on some systems: see issue #930
2022-03-06 13:24:32 +00:00
reverse_proxy 127.0.0.1:4000
2018-06-03 18:13:33 +00:00
}