2018-11-03 15:59:52 -07:00
|
|
|
# default Caddyfile config for Pleroma
|
|
|
|
#
|
|
|
|
# Simple installation instructions:
|
2018-11-04 05:06:18 -08:00
|
|
|
# 1. Replace 'example.tld' with your instance's domain wherever it appears.
|
2018-11-03 15:59:52 -07:00
|
|
|
# 2. Copy this section into your Caddyfile and restart Caddy.
|
|
|
|
|
2018-11-04 05:06:18 -08:00
|
|
|
example.tld {
|
2022-03-06 05:24:32 -08:00
|
|
|
log {
|
|
|
|
output file /var/log/caddy/pleroma.log
|
|
|
|
}
|
2018-06-03 11:13:33 -07:00
|
|
|
|
2022-03-06 05:24:32 -08:00
|
|
|
encode gzip
|
2018-06-03 11:13:33 -07:00
|
|
|
|
2019-05-23 14:33:27 -07: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 05:24:32 -08:00
|
|
|
reverse_proxy 127.0.0.1:4000
|
2018-06-03 11:13:33 -07:00
|
|
|
}
|